HttpArena

rails

Flagship · Ruby · engine: puma · standard configuration · completeness 4/4

Ruby on Rails (API mode) on Puma, multi-worker with one worker per CPU core.

Composite rank

Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.183 of 88394

Every result

Alpha Round, 10 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096171,26420.85ms66.90ms6251.0%5.7GiB
ConnectionPipelined4,096334,325167.02ms342.30ms6442.9%3.8GiB
ConnectionShort-lived4,096168,26012.27ms69.50ms6416.4%5.4GiB
ConcurrencyAsync Delay32,00017,375619.23ms4.06s1188.3%4.5GiB
EfficiencyLatency-10K1,0249,982483.0us1364.0us433.7%4.5GiB
EfficiencyLatency-1M1,024159,3468336678.3us16818176.0us6220.9%5.9GiB
WorkloadJSON Comp4,09679,25144.42ms111.50ms6394.6%3.6GiB
WorkloadJSON Comp16,38478,615108.86ms981.70ms6468.5%4.0GiB
WorkloadJSON TLS4,096120,42831.84ms110.79ms6476.4%6.0GiB
Workload8Gbit51249,2861478.2us28184.0us2882.6%5.0GiB

Compared with

The Ruby web frameworks around rails on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

EntryCompositevs rails
h2o-mruby2293+481%head to head
sinatra713+81%head to head
hanami425+8%head to head

Compare rails with any Ruby entry · Compare rails with any entry, in any language · Every Ruby entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry