.NET 4.0 vs 3.5 Performance

Now that VS2010 is in RC, it seems like it's just a matter of weeks before the first new kernel release from version 2.0. Although I do not need to upgrade, I am wondering if someone will conduct a performance test / benchmarking between them.

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

TIA, Deiana

+4
source share
5 answers

I found that .NET 4.0 will be slightly slower in one test suite that we are running. The test launches many queries against the 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.

+2
source
ASP.NET 4 Runtime o Focused on two areas + Performance + Extensibility o New resource monitoring options o New performance features + Session state + Improving perceived application startup o Output cache extensibility 

Check this link http://ecn.channel9.msdn.com/o9/pdc09/ppt/FT57.pptx

+3
source

Don't hope .NET 4.0 is definitely not a perforated release. First of all, this is a compatibility release. Five long years of MSFT, which cannot be released side by side, installable versions of the CLR and base class libraries are ending.

Even better, this is the SxS version, which even supports running older versions of the CLR along with the new version in the same process. This is an amazing achievement, I did not think it was possible. Many BCL supplements are creams on the cake.

+2
source

Too early to answer this question, we only have an RC release right now.

+1
source

It depends.
I use LINQ very much, and there is a significant performance improvement.
Given the VS2010 profiler, the difference is 230% higher.
But this, of course, is only a specific part of .NET 4.0.

0
source

Source: https://habr.com/ru/post/1301051/


All Articles