Live data from Hacker News

Web Framework Benchmarks

techempower.com

61–70 of 415 posts

Re: Web Framework Benchmarks

#61

I would love to contribute a code for a specific PHP framework: Silex. Do you have requirements you'd like to hit?

That would be fantastic. Get in touch with pfalls on Github and he can give you the information. It's fairly simple.

Re: Web Framework Benchmarks

#62
This seems to be a nice benchmark. For the Python group, I would suggest two things: (1) include a lightweight framework like Bottle, and (2) Try pypy.

Re: Web Framework Benchmarks

#63
post #26

One of the most interesting things this comparison brings out to me is not so much the differences between the various frameworks (although the differences between options on the same platform is definitely very useful information), but also the issue that few of us seem to think about these days: the cost of any of the frameworks above the bare standard library of the platform its hosted on. Theres a consistant, con…

I think this is a much needed and excellent point to make. Just take a look at how Go dips down when using Webgo.

Webgo... I'll stick with "net/http" and Gorilla thanks.

Also, They used Go 1.0.3... I hope they update to 1.1 next month. Most everyone using Go for intensive production uses is using Go tip (which is the branch due to become 1.1 RC next month)

Re: Web Framework Benchmarks

#64
post #53

How about Lift? Btw, the play framework you tested is Java or Scala based? Either way, I'm shocked to see Play perform so slow comparatively. Although it's easily 10x faster than rails on most tests, I'm shocked to see Node.js faster than Play! (by 2x in most cases) Wow!! Maybe Node.js critics should start appreciating it after all..

It is probably worth noting that while we strive to make the tests as fair as possible, we followed the official tutorials for each framework when building out the tests but we fully expect there to be small instances where minor tweaks improve a given test. Given that I am no Play expert, it would be of great value to have one who is (and it sounds like you could lend a hand there) to check out the code on the github page. If we did anything wrong with the setup or in general, we would rerun the tests. Again, we followed all the official 'getting started' posts for each framework, so we believe we have best practices used.

Disclaimer: I am a colleague of the author of the linked article.

Re: Web Framework Benchmarks

#66
post #3

There is a huge difference between raw PHP and CakePHP. I'd be curious to see other PHP frameworks (such as Zend, or Slim) in there-- is Cake just particularly slow, or is that simply what happens when you have a PHP framework?

I'm curious if they configured php with apc or zend optimizer. The huge difference is easy to explain as parse overhead for the framework's code, which happens on each request if you're not using a bytecode cache.

Re: Web Framework Benchmarks

#67
post #29

It would be very interesting to see OpenResty (Nginx + Lua) in there, since it's so different from other approaches.

I would love to see Openresty tested, for simple json and databases Openresty is a magnificent tool.

Re: Web Framework Benchmarks

#68
I think this benchmark is not that useful.

If you seriously thought that the difference between a netty and django would be 4 times then you simply don't understand what these frameworks do in the first place.

I would have guessed something like less than 100 times slower and that would have been still fine since the cost of all kinds of latencies in the system usually far outweigh the speed of the framework itself.

Re: Web Framework Benchmarks

#69
post #57

Why are there no Go results for the DB access benchmarks?

I'd be interested to know this as well. I can understand time constraints in compiling these kind of comparisons, but as I'm about to embark on a web project in Go, I'd be interested to know if there was any technical constraints that prevented benchmarking Go.

We recognize that deficiency and we do aim to add database tests for Go. If you could quickly draft that up and submit a pull request, we'd love to add it.

Re: Web Framework Benchmarks

#70
What's the difference between "php" and "php-raw" in some of the data? Maybe I'm still in my morning fog, but having trouble thinking of what "php-raw" might mean. Sigh.
Post reply on HN