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 1,000 to the entry that leads it, 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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 80 of 85 | 631 |
Every result
Alpha Round, 12 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 171,264 | 20.85ms | 66.90ms | 6251.0% | 5.7GiB |
| Connection | Pipelined | 4,096 | 334,325 | 167.02ms | 342.30ms | 6442.9% | 3.8GiB |
| Connection | Short-lived | 4,096 | 168,260 | 12.27ms | 69.50ms | 6416.4% | 5.4GiB |
| Concurrency | Async Delay | 32,000 | 17,375 | 619.23ms | 4.06s | 1188.3% | 4.5GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 483.0us | 1364.0us | 433.7% | 4.5GiB |
| Efficiency | Latency-1M | 1,024 | 159,346 | 8336678.3us | 16818176.0us | 6220.9% | 5.9GiB |
| Efficiency | Latency-500K/8 | 1,024 | 23,987 | 9497747.5us | 18817024.0us | 794.2% | 819MiB |
| Workload | JSON Comp | 4,096 | 79,251 | 44.42ms | 111.50ms | 6394.6% | 3.6GiB |
| Workload | JSON Comp | 16,384 | 78,615 | 108.86ms | 981.70ms | 6468.5% | 4.0GiB |
| Workload | JSON TLS | 4,096 | 120,428 | 31.84ms | 110.79ms | 6476.4% | 6.0GiB |
| Workload | 8Gbit | 512 | 49,286 | 1478.2us | 28184.0us | 2882.6% | 5.0GiB |
| Database | Async DB | 1,024 | 80,568 | 12.13ms | 47.10ms | 6425.8% | 5.3GiB |
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.
| Entry | Composite | vs rails | |
|---|---|---|---|
| h2o-mruby | 3133 | +396% | head to head |
| sinatra | 1102 | +75% | head to head |
| hanami | 693 | +10% | 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