Home

Awesome

.NET Performance Comparison

This is a simple solution that proves the performance imrpvements of .NET Core 2.0 over .NET Framework 4.7.
It's based on the blog post Performance Improvements in .NET Core it was shown as part of my presentation on the fourth edition (2017) of the NetConfUY called ".NET Core for everyone".

The VS2017 solution (dotNet Performance.sln) has three projects:

Every function that tests a feature is in the StandardLibrary, so the code for both projects is exactly the same. Even the code of every console application is a shared source file.

<img src="components.png" alt="solution" width="700">

It works thanks to the fact that both .NET Framework 4.7 and .NET Core 2.0 are .NET Standard 2.0 compatible. More info here