Live data from Hacker News

Web Framework Benchmarks Round 4

techempower.com

21–30 of 358 posts

Re: Web Framework Benchmarks Round 4

#21

I love what you guys are doing. This is by far the most comprehensive (in terms of number of frameworks) comparison of web frameworks. I also am a big fan of the new filtering metadata. However, I'm starting to think that all of the advocates of various frameworks are now conspiring independently to make this comparison meaningless...any framework (except Cake for some reason) can be superoptimized towards a small se…

Thanks for the kind words. We're very interested in adding additional tests, this round even includes a new test dubbed "Fortunes" which does in fact do server-side templating. We have an open github issue[1] asking for the community's input for just this sort of thing, and we'd love to have your feedback included.

[1] https://github.com/TechEmpower/FrameworkBenchmarks/issues/13...

Re: Web Framework Benchmarks Round 4

#23
post #16
post #2

This is the most recent update to our ongoing project measuring the performance of web application platforms and frameworks. In this round we've received several more community-contributed tests in Perl, PHP, Python, Java, and JavaScript. Go is a comeback champion thanks to changes made by Brad Fitzpatrick [1] and others in the Go community. A new "Fortunes" test was also added (implemented in 17 of the frameworks) t…

Any reason you didn't test ASP.NET MVC or ASP Web Forms?

I had the same thought. ASP.NET MVC and Web Forms are both very popular frameworks, and they're free to develop for. Might be harder to set up on a non-Windows machine, which could be why they were not tested.

Re: Web Framework Benchmarks Round 4

#25
post #11

I wonder why the 9 lowest ranked frameworks are all in PHP...

Not that PHP is particularly fast, but I notice that Raw PHP does about middle of the pack, but all of the ORM versions seem to do terribly. Interesting stuff.

I've usually had pretty good luck with Slim, I'll have to try a version with & without redbean and see how big a difference it makes.

Re: Web Framework Benchmarks Round 4

#26
Thanks for doing these extensive benchmarking tests. It would be really helpful to see a more complex example that includes user authentication. Aside from the benchmarks it's also a really good starting point to compare the code in different languages and get a first impression of a framework.

On a side-note, I'd really like to know why so few start-ups seem to be using Spring. It could be just a wrong impression . But from what I have seen most start-ups use RoR or Django. My guess is that Spring is less flexible and less known outside big companies, where it is usually the default. It could also be that Spring works better with the waterfall model whereas Django or RoR are better suited for explorative programming and that fits the respective spheres better.

Re: Web Framework Benchmarks Round 4

#27
post #16

Earlier quoted context omitted.

Any reason you didn't test ASP.NET MVC or ASP Web Forms?

Maybe because the server is not running Windows? Edit: yeah right Mono and w/e

Would it be too much to ask to also run a Windows VM? Or use Mono?

Re: Web Framework Benchmarks Round 4

#28
post #11

I wonder why the 9 lowest ranked frameworks are all in PHP...

Not that PHP is particularly fast, but I notice that Raw PHP does about middle of the pack, but all of the ORM versions seem to do terribly. Interesting stuff. I've usually had pretty good luck with Slim, I'll have to try a version with & without redbean and see how big a difference it makes.

Probably because all those big frameworks have to initialize everything for every request. Parsing, connections, configuration, you name it.

Re: Web Framework Benchmarks Round 4

#30

Good to see Java is holding its own.

I don't particularly love Java itself, but it is quite impressive how Java and other JVM languages are pretty much ass-kicking at the top of the list. That seems to go for heavyweight stuff as well as simpler "micro" frameworks.

I guess if anything it speaks to what a solid piece of software the JVM is.

Post reply on HN