HttpArena
Comparisons

Ruby web framework comparison: any two, head to head

h2o-mruby is quicker than roda on 6 of the 11 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 3350 and 1305.

Pick any two of the 8 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.

ProfileConnsh2o-mruby req/secroda req/secDeltah2o-mruby p99roda p99
Baseline4,0961,531,02885,318+1694%989us199.00ms
Pipelined4,0962,511,269701,920+258%9.45ms146.80ms
Short-lived4,096578,70439,431+1368%55.30ms219.20ms
Async Delay32,000106,19123,977+343%10.00ms2.33s
Latency-10K1,0249,9829,982+0%140.0us700.0us
Latency-1M1,024997,405376,299+165%373.0us13512704.0us
Latency-500K/81,024248,62362,059+301%9957376.0us17342464.0us
JSON Comp4,09675,742144,373-48%1.04s50.50ms
JSON Comp16,38473,948142,820-48%3.66s173.70ms
JSON TLS4,096140,687229,790-39%35.43ms192.40ms
8Gbit51249,20449,362-0%172.0us1216.0us

Common comparisons

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

Questions

Is h2o-mruby faster than roda?

h2o-mruby is quicker than roda on 6 of the 11 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 3350 and 1305. Both run on the same machine, in the same round, against the same profiles.

Is h2o-mruby faster than rage?

h2o-mruby is quicker than rage on 6 of the 9 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 3350 and 1257. Both run on the same machine, in the same round, against the same profiles.

Is h2o-mruby faster than sinatra?

h2o-mruby is quicker than sinatra on 6 of the 11 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 3350 and 1148. Both run on the same machine, in the same round, against the same profiles.

Is roda faster than rage?

rage is quicker than roda on 8 of the 10 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 1305 and 1257. Both run on the same machine, in the same round, against the same profiles.

Which Ruby framework is fastest overall?

h2o-mruby holds the highest HTTP/1.1 composite of the Ruby entries, at 3350. 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 · Compare across languages · Other languages · Open the leaderboard