I have a project written in .NET 4.0, and have no syntax or feature reason to upgrade it to .NET 4.5 . However, I was wondering if execution performance would improve.
Now, I understand that the IL code will probably remain the same, so performance improvements would come from CLR improvements. But as .NET 4.5 is still running the .NET 4.0 CLR, would there be any noticeable performance improvements by upgrading?
(For sake of completion/exposition, what about an upgrade from .NET 2 CLR to .NET 4 CLR?)
Right, the CLR version number is still the same and the 4.5 CLR replaces the 4.0 CLR. The revision is however substantial. Short from the language projection that supports WinRT development, the focus for the 4.5 version was in fact on perf improvements.
I'll just briefly describe them, it is already well covered in this magazine article:
The multicore JIT compiler is available only on 4.5. That alone could give you large performance improvement should you enable it.
It is worth mentioning that by going 4.5 you drop support for widnows xp (which might or might not be an issue).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With