Live data from Hacker News

Web Framework Benchmarks

techempower.com

41–50 of 116 posts

Re: Web Framework Benchmarks

#41
This should clearly show this as time per request rather than requests per second, since these are really trivial requests and aren't going to be representative of actual performance differences in the real world.

Re: Web Framework Benchmarks

#42
It is really surprising that the same frameworks are much slower running pypy than cpython. I'm assuming all the result are run from cold... Considering that webserver rund for long period of time, it'd be interesting to measure after several runs, and see how the JITted platforms (pypy, java etc...) place in comparison.

Re: Web Framework Benchmarks

#44
post #32

It looks like the bottleneck here is the database driver (or possibly ORM when used). The plaintext test shows a very different picture: https://www.techempower.com/benchmarks/#section=#section=dat... PS: As a side note, I do not like golang, my focus has been on python and now rust, but I am very impressed by both the plaintext and the DB test!

The bottleneck on plaintext appears to potentially be physical network bandwidth. https://github.com/TechEmpower/FrameworkBenchmarks/issues/35...

Agreed, but it shows the framework that are able to reduce their overhead, since they aren't all at 100% of the fastest.

Re: Web Framework Benchmarks

#45
post #38

Earlier quoted context omitted.

I'm not sure how many companies use C, C++ for Web development. In my opinion C/C++ wont be good idea to use for most. It is about choosing the best ration b/w tool speed and developer speed(productivity). There are very few companies which requires million per second request. For me Java, C#, Go, Node provide the best compromise b/w speed and productivity.

Most companies that sell embedded hardware managed remotely by Web interfaces.

Honest question: What sort of embedded hardware deals with millions of requests a second? I wouldn't have thought that kind of utility was the same domain as "embedded" (in the stricter sense of the term).

Granted you could expand the term to cover hardware load balancers and the sort, but those wouldn't really be running websites so much as routing and caching them. Aside from that, you have management interfaces for embedded devices but they're typically used infrequently and only by a small subset of users. Plus a surprising number of them are just written in PHP or Perl.

But maybe there is a whole industry out there I've overlooked? You've got me curious.

Re: Web Framework Benchmarks

#46
post #28

How different are the various frameworks here? Are they all running with SSL? Do they keep track of session cookies? Do they have Content Security Policy headers? etc.. There's probably a million different feature configuration differences between each framework.

> How different are the various frameworks here? Quite different. We have included test implementations for frameworks that span 26 computer languages. There are an infinite variety of opinions about how to do things in computer programming in general, and our project is no exception. And on the other hand, fairly similar. Tests should stick to the requirements [1], which are designed to be permissive but sufficientl…

So, anyone can submit a framework here as a docker container? I'd love to send in my custom framework for benchmarking.

Re: Web Framework Benchmarks

#47

Earlier quoted context omitted.

I was talking about the compromise, if node is slower it provides better productivity.

Why would a experienced java dev be less productive than a node js one?

Tooling, typing, boilerplate and contrasting to the library that is npm.

Re: Web Framework Benchmarks

#48
post #28

Earlier quoted context omitted.

> How different are the various frameworks here? Quite different. We have included test implementations for frameworks that span 26 computer languages. There are an infinite variety of opinions about how to do things in computer programming in general, and our project is no exception. And on the other hand, fairly similar. Tests should stick to the requirements [1], which are designed to be permissive but sufficientl…

So, anyone can submit a framework here as a docker container? I'd love to send in my custom framework for benchmarking.

Yes! We accept PRs from the community at the GitHub repository [1]. We do ask that you submit what you believe is production quality code that would be suitable to run a real web application. We are liberal with how that is interpreted, but we reserve the right to reject code that is too experimental.

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

Re: Web Framework Benchmarks

#49

Can someone explain me why php5 is faster than php7?

theres a lot of weird things that dont make sense. like how a minimalistic framework sinatra/padrino is slower than rails doesnt seem to make sense at all.

i feel these benchmarks are misleading to say the least.

Post reply on HN