.NET 4.0 VS 3.5运行时性能 [英] .NET 4.0 vs 3.5 runtime performance

查看:138
本文介绍了.NET 4.0 VS 3.5运行时性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,VS2010是RC现在看来,这只是个星期,直到2.0以来的第一个新核心运行时释放问题。虽然我没有直接需要升级我不知道是否有人已经做了一些性能测试/两者之间的标杆。

Now that VS2010 is in RC it seems it's only matter of weeks until first new 'core' runtime release since 2.0. Whilst I do not have immediate needs to upgrade I'm wondering if anyone has done some performance testing/benchmarking between the two.

如果有任何明显的性能增益那么这将是有益的重新编译现有,工作,应用

If there are any noticeable performance gains then it would be beneficial to recompile existing, working, applications.

TIA,
德扬

TIA, Dejan

推荐答案

我发现.NET 4.0是一个测试套件只是一点点慢,我们跑。测试运行了一堆用System.Data.Sqlite对SQLite数据库的查询,它们运行相比,4.0 .NET 3.5快1-2%。不知道为什么他们更快,但我们在这里谈论毫秒,所以我不是太担心。

I have found .NET 4.0 to be just a tiny bit slower in one test suite we run. The test runs a bunch of queries against a SQLite database using System.Data.Sqlite, and they run 1-2% faster on .NET 3.5 compared to 4.0. Not sure why they are faster, but we are talking about milliseconds here so I'm not too worried.

这篇关于.NET 4.0 VS 3.5运行时性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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