x64 applications using gdi+: what are the consequences on performance?

怎甘沉沦 提交于 2019-12-12 18:18:20

问题


I am currently implementing an ASP.Net application which is using GDI+ to do server-side rendering. First versions were dependent on a 32 bits unmanaged component, so all the managed assembly were compiled for x86 platform. Lastly I got rid of this dependency and am now able to set the target platform to AnyCPU. Since the application can potentially be used to handle a lot of data, being able to run it in 64 bits may be useful. However I read there is a performance decrease when using GDI+ on x64 platform, but was not able to have detailed information about it.

What are the performance issues I should be aware of in order to know if running in 64 bits worth the performance cost?


回答1:


Ok, I had wrong information: after profiling a GDI+ application compiled both for x86 and x64 it appears that the performance are the same for each platform. I do not remember where I read that first, but it is a good reminder of the "assume nothing before seeing" moto.
It's good to have a definitive answer to my question though!



来源:https://stackoverflow.com/questions/4851192/x64-applications-using-gdi-what-are-the-consequences-on-performance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!