Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Performance comparison of dnxcore50 vs dnx451? (CoreClr vs .net Framework)

I have tried to find some data on performance of these two targets compared, but did not succeed. I am interested in a asp.net5 web application that runs on Windows (Or azure web app e.g.). Is there any significant difference in performance or from that point of view the targets are roughly equal?

like image 928
Ilya Chernomordik Avatar asked Dec 16 '15 09:12

Ilya Chernomordik


People also ask

How .NET core is faster than .NET framework?

. NET Core is a lot faster than the . NET Framework due to its modular architecture. It offers lighter versions of core framework components leading to simplified cross-platform app development.

Is .NET core better than .NET framework?

NET Core is faster than . NET Framework because the architecture of . NET Core is written or restructured from scratch to make it a modular, lightweight, fast, and cross-platform Framework. The Applications require technologies like workflow, webforms or WCF that are not present in .

Can ASP NET core work with the .NET framework?

In order to run ASP.NET Core Apps on the . NET Framework it needs to only reference . Core NuGet packages which contains only the . NET Standard 2.0 builds.

What is the difference between ASP NET and ASP NET core?

Just like ASP.NET, ASP.NET Core is based on the Model-View-Controller framework, like most web development frameworks; ASP.NET Core has robust Cloud support, and it supports modular architecture better than ASP.NET does.


1 Answers

As far as benchmarks are concerned, they can all be found on GitHub on aspnet/benchmarks

They even include the tools and procedure to run the benchmark yourself on your system.

So far, ASP.NET 4.6 is able to handle 57,843 requests per seconds. And ASP.NET 5 on Kestrel can handle 168,005 requests per seconds.

As for performance differences, you might be interested in all the bugs currently open:

  • https://github.com/aspnet/dnx/labels/Perf
  • https://github.com/dotnet/coreclr/labels/performance
  • https://github.com/dotnet/corefx/labels/performance

Lots of work needs to be done before RTM.

like image 186
Maxime Rouiller Avatar answered Sep 30 '22 11:09

Maxime Rouiller