Dotnet Update - 2.0 to 3.5 - Performance

We have several winforms applications written in dotnet 2.0. Are there any performance improvements that we would expect when upgrading to 3.5 runtime? What special benefits will we get besides language opportunities?

+4
source share
6 answers

There may be a few minor performance improvements and bug fixes, but the biggest benefit will be the improvement you can get from the new language features. You can also use the .NET Client Profile installation for your client applications, which is essentially a subset of the .NET Framework that includes the bits that are most important for client client applications, which means a smaller download / install size.

+6
source

There are performance improvements with application loading time (assembly), networking, drawing and presentation, as well as multithreading, to name a few.

+6
source

I get about a 10-fold increase in performance in a simple application that I wrote, which uses GetPixel () heavily on paint surfaces. I cannot be sure that this was the basis, because the comparison went through two cars, but they were similar.

+3
source

The actual structure of 3.5 will not be much different from performance. In many ways, this is just another library.

What will matter is that framework 3.5 requires CLR 2.0 SP1. SP1 has a number of performance improvements that will affect your application. Or 2.0 SP2 if you decide to use 3.5 SP1.

Here's a blog entry on some of the features of Impromevents in CLR 2.0 SP2: http://blogs.msdn.com/clrcodegeneration/archive/2007/11/02/how-are-value-types-implemented-in-the-32-bit -clr-what-has-been-done-to-improve-their-performance.aspx

+1
source

As I understand it, the changes from .NET 2.0 to 3.5 are mainly focused on adding to the .NET 2.0 library, more like an add-on package, rather than a new version of the framework (so as not to reduce many of the additional features that you get). Thus, I would suggest that you see only a minimal increase in speed, possibly from minor updates to the framework. All of this assumes that you are sticking to winforms and your current code base. As always, changing the code leads to a completely different ball game!

Good luck

0
source

The features of language 3.0 and 3.5 are executed in the .NET 2.0 runtime. These are essentially library updates. You will not notice a difference in performance.

-1
source

All Articles