News for hackers. Stuff that matters.
Re:.NET 6 vs .NET 5 speedup by cies on Sunday November 21, 2021 @06:44AM (#29295663)
These are some microbenchmarks at best. Still nice to know who wins, but not representative of any real work scenario.
Re:.NET 6 vs .NET 5 speedup by Hnus on Sunday November 21, 2021 @07:14AM (#29295813)
What would be representation of some real work scenarios? I think their test suite covers wide spectrum of operations enough so to be able to draw conclusions from them.

https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Proj...

Re:.NET 6 vs .NET 5 speedup by fenring on Sunday November 21, 2021 @07:48AM (#29295951)
Unfortunently, after looking at the .net core implementation of this benchmarks, I wouldn't trust it at all. The code is just overengineerd to perform best at benchmark - everything hardcoded, custom routing to cover 2-3 routes with minimal overhead etc. It has nothing in common with real world code.
Re:.NET 6 vs .NET 5 speedup by the_duke on Sunday November 21, 2021 @09:06AM (#29296291)
The Techempower entries are heavily gaming the system.

They often strip out framework functionality and hyper-optimise for the specific benchmark, including things like pre-allocating the exact amount of memory needed to serve the request, not doing route matching et all, etc.

They are basically an exercise in "how clever can we be to win the benchmark" rather than a realistic portrait of real world performance.

Re:.NET 6 vs .NET 5 speedup by fabian2k on Sunday November 21, 2021 @09:14AM (#29296323)
at least for .NET the versions that strip out framework functionality are marked separately, though this part is not that easy to understand if you don't know about it. There are several .NET entries from very low-level without MVC and without ORM up to the full stack.

But still, these benchmarks have their uses but there are a lot of caveats you need to consider when looking at the results.