Live data from Hacker News

Web Framework Benchmarks Round 5

techempower.com

11–20 of 58 posts

Re: Web Framework Benchmarks Round 5

#11
post #2

OpenResty is twice as fast as raw Go at multiple queries DB test (dedicated hardware), huh.

A pure Go MySQL driver is being used for the Go test. OpenResty probably uses a thin wrapper around the C library.

The openresty mysql driver is in pure lua. It has a very efficient socket/pooling mechanism, using sockets from nginx.

Re: Web Framework Benchmarks Round 5

#13
post #9
post #7

Earlier quoted context omitted.

Thanks for the tip! I need to be clear that the ASP.NET implementation that you see in Round 5 was contributed by user @pdonald at Github. That said, we'd be happy to receive more pull requests with ASP.NET changes and improvements. We suspect there is a lot of room for improvement in the Windows numbers.

I've just submitted a pull request.

You may be the fastest pull-requester I've seen in the five rounds of this project. Good show.

Re: Web Framework Benchmarks Round 5

#20

Why is the overhead of all the PHP frameworks so high? Is it because they have to evaluate all the framework code per request? The difference between raw PHP and symfony2 is massive!

I think it's because raw PHP doesn't do anything. You're literally benchmarking how fast you can do nothing. As soon as you add any kind of logic the number goes way down. It's like saying the performance of adding 4 numbers is a massive difference from the performance of adding 2 numbers.
Post reply on HN