HttpArena
Comparisons

Ruby web framework comparison: any two, head to head

rage is quicker than roda on 15 of the 19 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 253 and 226.

Pick any two of the 7 Ruby entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. What each profile measures.

ProfileConnsrage req/secroda req/secDeltarage p99roda p99
Baseline512477,939100,648+375%30.50ms83.10ms
Baseline4,09657,97549,154+18%171.80ms290.40ms
Pipelined512977,544718,707+36%107.90ms31.80ms
Pipelined4,096928,352697,544+33%168.30ms144.30ms
Short-lived51253,48428,599+87%65.30ms71.30ms
Short-lived4,09651,44828,814+79%331.20ms305.00ms
JSON4,096388,272249,577+56%45.40ms43.10ms
JSON Comp512189,727130,040+46%10.10ms13.60ms
JSON Comp4,096179,420141,482+27%50.20ms52.90ms
JSON Comp16,384160,894141,281+14%279.90ms149.00ms
Upload32599949-37%187.80ms130.70ms
Upload256856900-5%1.09s1.56s
Static1,024992,019141,669+600%1.48ms73.92ms
Static4,096959,138139,115+589%4.17ms245.00ms
Static6,800928,646138,957+568%6.96ms551.80ms
Async DB1,02492,89384,584+10%84.70ms273.60ms
CRUD4,09652,00261,151-15%1.60s83.40ms
API-425613,99913,645+3%266.00ms73.20ms
API-161,0249,82548,671-80%1.78s82.90ms

Common comparisons

rage vs roda · rage vs sinatra · rage vs h2o-mruby · roda vs sinatra · roda vs h2o-mruby · sinatra vs h2o-mruby

Questions

Is rage faster than roda?

rage is quicker than roda on 15 of the 19 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 253 and 226. Both run on the same machine, in the same round, against the same profiles.

Is rage faster than sinatra?

rage is quicker than sinatra on 12 of the 19 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 253 and 194. Both run on the same machine, in the same round, against the same profiles.

Is rage faster than h2o-mruby?

rage is quicker than h2o-mruby on 8 of the 15 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 253 and 192. Both run on the same machine, in the same round, against the same profiles.

Is roda faster than sinatra?

roda is quicker than sinatra on 15 of the 23 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 226 and 194. Both run on the same machine, in the same round, against the same profiles.

Which Ruby framework is fastest overall?

rage holds the highest HTTP/1.1 composite of the Ruby entries, at 253. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every Ruby entry

Results updated · Ruby composite ranking · Other languages · Open the leaderboard