The Ruby Web Benchmark Report
madebymarket.com
madebymarket.com
That is giving up 85.67% performance before you write a single useful line of code. That means at best possible performance, the standard rails app is 6.98 times slower than the fastest Ruby code could be. That also means your standard rails app is at least 7 times slower than the comparable Go or Scala app, simply because of your server, runtime, and framework.
Part 2 : measure development time without frameworks? ;)
awesome work! I enjoyed this as I was making comparisons between puma and unicorn.
A co-worker of mine has been battling a rails 3 -> 4 and ruby 1.9 -> 2.1 transition. I'm hoping this helps drive the needle in the right direction.
I am curious how much JRuby performance advantages impact the rest of the code beyond just routing. There will be more benchmarks.
The title is a bit misleading though - This is not so much benchmarking Ruby as it is benchmarking the infrastructure around it. People may be switching to other languages because the actual application code is faster.
It's certainly not a pure ruby hello world test, but I think there is a lot of value in testing the infrastructure around Ruby. That has a huge impact on performance.
I don't doubt that other languages have faster application code, but figuring out how much faster vs what the best possible option for the existing code is worth exploring I think.
You can certainly test frameworks, but that's where a lot of the fun begins and ends. Also, Techempower benchmarks pretty much did this outstandingly well.
Probably down the line I might look at PHP, Python, Clojure, .NET, and Java....
It's funny how these things spiral out of control.
I was working on even more charts, but they took forever to get on each thing, so hopefully for a later version...