我正在寻找一个基准(以及在其他PC上的结果),它可以让我了解通过升级我的PC可以获得的开发性能收益,而且这个基准可以用来向我的老板证明升级是合理的。
我使用Visual Studio2008进行开发,所以我想知道构建时间可以改善的因素是什么,如果基准测试可以将IDE性能(即编辑时,使用intellisense时,打开代码文件等)合并到其结果中,那就更好了。
我目前有一台AMD3800x2,在Vista32上有2 2GB内存。例如,我想知道在Vista64上使用Q6600、4 4GB内存的Visual Studio2008会获得什么样的性能提升。以及其他处理器和其他RAM大小...还可以看看硬盘性能是否是一个重要因素。
编辑:我提到Vista64是因为我知道Vista32最多只能使用3 3GB内存。所以我假设想要使用更多的RAM将需要Vista64,但也许总体上它仍然会更慢,在64位操作系统上使用32位VS2008会有很大的开销。
发布于 2011-01-10 18:50:31
Anandtech已经开始使用Visual Studio 2008中的Chromium版本作为CPU基准。
http://www.anandtech.com/show/4083/the-sandy-bridge-review-intel-core-i5-2600k-i5-2500k-and-core-i3-2100-tested/19
发布于 2008-12-08 12:07:14
对不起,我不知道任何专门针对IDE的基准测试。
但是,Vista-64不会比Vista-32更快地运行VS,因为VS是32位的。如果说有什么不同的话,那就是它在Vista-64上的运行速度会稍微慢一些。要在Vista x64上运行任何32位应用程序,操作系统都会使用一个名为WOW64的转换层:
WOW64 is a compatibility environment provided by the operating system that allows a 32-bit application to run on a Windows 64-bit operating system.
一个令人担忧的问题是,必须在WOW64下运行Visual Studio,它在Vista x64上的运行速度实际上可能比Visa x86慢。显然,在x86下,它不需要经过翻译过程。
在web上的32位和64位版本的Windows上运行32位应用程序之间有很多比较。一般来说,如果看到任何好处,它们都是相对较小的。一个这样的测试确实表明,只有在某些有限的情况下才会有所改善,甚至在64位环境中运行的一些32位应用程序的性能会降低:
What we saw was that using 64-bit memory addressing, or especially converting the memory addressing of a 32-bit executable to work with the 64-bit version of XP, imposed a slight memory bandwidth hit. While not big enough to be an issue, it proves what we were already seeing from the previous benchmark results: 32-bit code runs slightly slower in a 64-bit environment than it does in its native 32-bit habitat.
更好的RAM和磁盘性能肯定会有所帮助。在构建时,VS会做大量的磁盘IO。
斯科特在这方面有一篇很好的帖子:http://weblogs.asp.net/scottgu/archive/2007/11/01/tip-trick-hard-drive-speed-and-visual-studio-performance.aspx
发布于 2008-12-08 12:43:08
请阅读这篇来自Patrick Smacchia的blog post。对我来说很明显,区别在于硬盘/固态硬盘,所以还是选择固态硬盘吧。
https://stackoverflow.com/questions/349293
复制相似问题