performance - IDE/编译器 PC 基准测试来比较我的 PC 性能?

标签 performance visual-studio-2008 upgrade benchmarking

我正在寻找一个基准测试(以及在其他 PC 上的结果),它可以让我了解通过升级我的 PC 可以获得的开发性能提升,而且该基准测试可以用来向我的老板证明升级的合理性。

我使用 Visual Studio 2008 进行开发,所以我想知道构建时间会通过哪些因素得到改善,而且如果基准测试能够包含 IDE 性能(即编辑时,使用智能感知、打开代码文件等)到其结果中。

我目前有一个 AMD 3800x2,在 Vista 32 上有 2GB RAM。例如,我想知道我在 Visual Studio 2008 中看到什么样的性能提升,在 Vista 64 上有一个 Q6600,4GB RAM。和还与其他处理器和其他 RAM 大小......还要看看硬盘性能是否是一个重要因素。

编辑:我提到 Vista 64 是因为我知道 Vista 32 最多只能使用 3GB RAM。所以我假设想要使用更多 RAM 需要 Vista 64,但总体而言它可能仍然会更慢,因为在 64 位操作系统上使用 32 位 VS 2008 会产生很大的开销。

最佳答案

抱歉,我不知道有任何专门针对 IDE 的基准测试。

但是,Vista-64 运行 VS 的速度不会比 Vista-32 快,因为 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 下它不需要经过翻译过程。

网络上有很多关于在 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。

Scott 有一篇关于此的好文章:http://weblogs.asp.net/scottgu/archive/2007/11/01/tip-trick-hard-drive-speed-and-visual-studio-performance.aspx

关于performance - IDE/编译器 PC 基准测试来比较我的 PC 性能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/349293/

相关文章:

java - 没有明确答案 : Which Java Map is the cheapest?

c++ - 将 MFC/ATL 代码转换为 Windows 窗体应用程序

crash - 为什么升级到 Flutter v0.7.3 beta 会阻止我的应用程序运行?

ruby-on-rails-4 - 为什么 "gem install bundler"不升级我的 bundle 程序?

php - 如何在两列中不重复计数?

python - 一种比 os.listdir 更快的目录遍历方式?

c# - 在 numericupdown 控件中显示前导零 (C#)

c++ - 判断一个lib文件是否为2010 Build

java - 在 ServiceMix 上升级库的过程

algorithm - 为什么埃拉托色尼筛法比简单的 "dumb"算法更有效?