https://github.com/sebagomez/dotnet-performance-comparison
dotNET performance comparison
https://github.com/sebagomez/dotnet-performance-comparison
csharp dotnet dotnet-core dotnet-standard
Last synced: 2 months ago
JSON representation
dotNET performance comparison
- Host: GitHub
- URL: https://github.com/sebagomez/dotnet-performance-comparison
- Owner: sebagomez
- Created: 2017-10-12T16:39:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-29T22:56:05.000Z (over 7 years ago)
- Last Synced: 2024-10-29T16:21:36.138Z (7 months ago)
- Topics: csharp, dotnet, dotnet-core, dotnet-standard
- Language: C#
- Homepage:
- Size: 554 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# .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](https://blogs.msdn.microsoft.com/dotnet/2017/06/07/performance-improvements-in-net-core/) it was shown as part of my presentation on the fourth edition (2017) of the [NetConfUY](http://netconf.uy) called ".NET Core for everyone".The VS2017 solution (dotNet Performance.sln) has three projects:
- StandardLibrary is a .NET Standard 2.0 library
- ConsoleFramework is a .NET Framework 4.7 console application with a reference to the StandardLibrary project
- ConsoleCore is a .NET Core 2.0 console application also with a reference to the StandardLibrary projectEvery 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.
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](https://docs.microsoft.com/en-us/dotnet/standard/net-standard)