使用GDI + x64的应用程序:什么是对性能的影响? [英] x64 applications using gdi+: what are the consequences on performance?

查看:169
本文介绍了使用GDI + x64的应用程序:什么是对性能的影响?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在执行其使用GDI +做服务器端渲染的ASP.Net应用程序。第一版本是依赖于一个32位的非托管的组件,所以所有的托管程序集被编译为x86平台。最后我摆脱这种依赖性,并且现在能够在目标平台设置为值为anycpu。因为应用可能会被用来处理大量的数据,能够以64位运行它可能是有用的。不过我看了也用在x64平台上GDI +的时候是一个性能下降,但并没有能够有它的详细信息。

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.

什么是性能问题,我应该知道,为了知道是否在64位运行值得的性能成本?

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

推荐答案

好吧,我错了信息:配置的是GDI +无论是x86和看起来的表现都相同的每个平台x64时,编译的应用程序后。我不记得我读的第一,但它是看到之前麻痹大意摩托的一个很好的提醒。
这是很好的有一个明确的回答我的问题,但!

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!

这篇关于使用GDI + x64的应用程序:什么是对性能的影响?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆