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

1

8

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?

Ial answered 16/12, 2015 at 9:16 Comment(0)
R
5

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:

Lots of work needs to be done before RTM.

Raviv answered 16/12, 2015 at 14:26 Comment(9)
That's nice page, thank you. This does not answer the question if ASP.NET 5 on Kestrel is faster on dnx or dnx core :)Ial
Good news, you can run the test yourself on your environment! :PRaviv
I am OK with a generic test results from some other environment, but I really guess they are pretty much the same since it all boils down to jit-compiled code that should be the same or almost the same I guess.Ial
added some links to performance issues that you can check if it helps youRaviv
Oh and as always, if I answered your question correctly and don't need any further help, please mark it as answered.Raviv
Well, I still wanted to see some dnx vs dnxcore benchmarks :)Ial
For me dnxcore on linux is ~4x faster that dnx451 on monoMalachi
@Malachi The guys at Microsoft are spending a whole bunch of effort to make sure that string manipulation, comparison and others are as fast as the Windows implementation. I don't think the mono developers have the same resources. ;-)Raviv
The Mono libs including string were good it was there jit and gc that was rather poor. I had a look at it once for a security change and it had no updates in 7 years.Hurtle

© 2022 - 2024 — McMap. All rights reserved.