Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This article was quite eye-opening: https://dusted.codes/how-fast-is-really-aspnet-core

Now please note, this only talks about what Microsoft is doing, maybe others do the same.

Edit: I saw the article does in fact look at other frameworks.

In the end, it just means these particular benchmarks are pretty much worthless for any kind of real-life comparison.



Thanks for sharing. From the article, even the worst of asp.net was often still outperforming Go and other major frameworks. And the versions explicitly pointed out as actually fairly realistic still placed in the 73-86 ranges. In addition, you could do the same exercise with gin, rails, etc and find a lot more variation (though rails and django do basically always suck in comparison)

It's interesting because even the maker of actix (Rust) was pretty explicit about their goal to optimize for these benchmarks. And it really worked to improve the perception of Rust for web dev applications.[0] The current leader is actually JUST which is a JavaScript based framework that's pretty much solely focused on these benchmarks.

I think the strategy for optimizing like this and sometimes even fudging numbers a bit is pretty standard for a new framework or platform trying to make a name for itself (ahembunahem).

Actix is new, JUST is more of an experiment, and tbh I've never even heard of drogon. But when it comes to frameworks like ASP.NET core, Laraval, Rails, Express, etc you can at least trust that they've been around for a long time and there are many proven examples of their application to both commercial and hobby projects. IMO the fact that ASP.NET has been around for so long yet can still top benchmarks like these is still a noteworthy feat. And its undeniable that Django, Rails, Laraval, etc are leagues behind in terms of performance

[0] https://www.arewewebyet.org/


> From the article, even the worst of asp.net was often still outperforming Go and other major frameworks.

Hmm no:

β€žthe expensive Go implementation ranks 22nd overall in the TechEmpower Fortunes Benchmark with an equally impressive 381k requests/sec. Not quite as fast as the Java one but still more than 2x faster than the equivalent test in ASP.NET Core.β€œ

But as said, in the end the whole discussion probably says more about the value of this benchmark than the value of the frameworks (also considering of course that pure performance is only one factor among many)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: