Biff MaGriff
Biff MaGriff

Reputation: 8241

Would upgrading from .net 2.0 to 4.0 give a performance increase?

We have finally put our giant VB.net 2.0 Web Application into a code freeze exclusively so we can put some performance enhancements into it.

I was wondering if it would be worth it to upgrade the .Net version to increase the application's performance.

Upvotes: 7

Views: 1107

Answers (3)

John Saunders
John Saunders

Reputation: 161831

It will be worthwhile to upgrade, but not due to automatic improvements.

It will be worthwhile to upgrade because you'll have more options on how to fix the performance problems.

It will also be worthwhile to upgrade because .NET 2.0 is six years old! Don't ever stay in the past unless you have to, or you'll eventually wind up having to explain why you're using decade-old technology.

Upvotes: 10

Paul Sasik
Paul Sasik

Reputation: 81537

Instead of taking a huge shot in the dark (building w/ 4.0) to try and increase performance you should run a profiler against your code base to identify performance bottle necks. You might upgrade anyway but if you do get a performance boost it would most likely be negligible. Profiling and fixing bottle necks regardless of version will be the best way to proceed.

Btw, if you do go with 4.0 and VS 2010 you get a profiler built into the IDE.

Upvotes: 4

Tim Lloyd
Tim Lloyd

Reputation: 38494

Impossible to say. You would have to design some repeatable performance tests, and then A->B them against your application running on each .Net version. For instance, your application's performance could be influenced by IO, or memory constraints. A .Net upgrade is unlikely to help with this.

Upvotes: 9

Related Questions