Release 模式下的时间性能:VC++ 中的怪异差异 2008年与VC++ 2005 精简版

发布于 2024-07-15 10:07:04 字数 189 浏览 10 评论 0原文

我在 VC++ 2008 和 VC++ 2005 Express Edition 中运行了相同的项目(具有相同的配置属性)。 我对它们之间的时间性能差异感到惊讶:VC++ 2008 比 VC++ 2005 Express Edition 花费了更多的时间(大约多出 30% 的时间)。 为什么会发生这种情况? 是因为 Express Edition 更轻吗?

I ran the same project (with the same configuration properties) in VC++ 2008 and in VC++ 2005 Express Edition. I was surprised by the difference in time performance between them: VC++ 2008 took much more time (approximately 30% additional time) than VC++ 2005 Express Edition. Why did this happen? Is it due to Express Edition being lighter?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

兔姬 2024-07-22 10:07:04

这么大的差异肯定是优化设置的原因。 如果您将项目从 2005 年转换为 2008 年,请查看此问题。 我做了一些测试来比较 VS 2003 和 VS 2008 之间的性能,我的应用程序的性能大致相同。

编辑:
我在 2003 年到 2008 年的转换中遇到了类似的问题。 在我尝试了优化设置并尝试找到更好的设置后,在特定时刻性能“恢复正常”。 这是在我意识到上述问题之前。 我不明白原因,我仍然不明白,但我对结果很满意......所以我能给出的唯一建议是尝试更改优化设置并再次测试。

Such a big difference must be because of optimization settings. If you converted your project from 2005 to 2008, take a look at this question. I did some tests to compare performance between VS 2003 and VS 2008, and the performance for my applications was roughly the same.

Edit:
I had a similar problem with 2003 to 2008 conversion. After I played with the optimization settings, trying to find a better setting, at a specific moment the performance was "back to normal". This was before I was aware of the question mentioned above. I didn't understand the reason, I still don't, but I was happy with the result... So the only advice I can give is try to change optimization settings and test again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文