Sunday, August 29, 2021

Ask HN: Is it true that CoreCLR is that much faster than Mono?

I am aware of the various published test results where CoreCLR shows fantastic speed-ups compared to Mono, e.g. when calculating MD5 or SHA hash sums.

But my measurements based on the Are-we-fast-yet benchmark suite (see https://ift.tt/3gEP20T and https://ift.tt/3gDKvfp) show a completely different picture. Here the difference between Mono and CoreCLR (both versions 3 and 5) is within +/- 10%, so nothing earth shattering.

Here are my measurement results:

https://ift.tt/3zrW3tj comparing the same benchmark on the same machine run under LuaJIT, Mono, Node.js and Crystal.

https://ift.tt/38pZ1mi comparing Mono, .Net 4 and CoreCLR 3 and 5 on the same machine.

Here are the assemblies of the Are-we-fast-yet benchmark suite used for the measurements, in case you want to reproduce my results: https://ift.tt/2WAbcuC.

I was very surprised by the results. Perhaps it has to do with the fact that I measured on x86, or that the benchmark suite in use includes somewhat larger (i.e. more representative) applications than just micro benchmarks.

What are your opinions? Do others have similar results?


Comments URL: https://news.ycombinator.com/item?id=28349745

Points: 1

# Comments: 0



from Hacker News: Newest https://ift.tt/3mESXyN
via IFTTT

No comments:

Post a Comment

Show HN: rtrvr.ai – AI Web Agent for Automating Workflows and Data Extraction

Hey HN, I'm excited to share rtrvr.ai, a Chrome extension that brings the power of AI agents to your everyday web browsing. It's de...