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.
Achievements
🥇 1 Gold. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥇 Gold | Test profile | Efficiency · Latency-10K | 1 of 71 |
Composite rank
Each profile of a family is worth 100 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 | 66 of 71 | 640 |
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 | 33,774 | 99.84ms | 336.70ms | 5091.3% | 7.6GiB |
| Connection | Pipelined | 4,096 | 305,304 | 190.53ms | 296.70ms | 6407.2% | 2.5GiB |
| Connection | Short-lived | 4,096 | 27,567 | 133.49ms | 300.30ms | 4670.8% | 6.5GiB |
| Concurrency | Async Delay | 32,000 | 16,625 | 598.97ms | 3.41s | 1107.4% | 4.3GiB |
| Efficiency | Latency-10K | 1,024 | 9,984 | 487.8us | 1714.0us | 432.8% | 4.0GiB |
| Efficiency | Latency-1M | 1,024 | 160,407 | 8385653.6us | 16683008.0us | 6310.0% | 5.1GiB |
| Efficiency | Latency-500K/8 | 1,024 | 22,984 | 9534299.6us | 18849792.0us | 816.1% | 875MiB |
| Workload | JSON Comp | 4,096 | 82,836 | 44.59ms | 106.20ms | 6425.1% | 4.0GiB |
| Workload | JSON Comp | 16,384 | 83,309 | 114.75ms | 583.90ms | 6174.3% | 4.4GiB |
| Workload | JSON TLS | 4,096 | 114,891 | 35.44ms | 224.97ms | 6405.1% | 5.3GiB |
| Workload | 8Gbit | 512 | 49,307 | 1003.5us | 6738.0us | 2872.4% | 5.5GiB |
| Database | Async DB | 1,024 | 72,976 | 13.37ms | 30.40ms | 6366.2% | 3.6GiB |
Compared with
The Ruby entries around rails on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs rails | |
|---|---|---|---|
| h2o-mruby | 3350 | +424% | head to head |
| rack-iodine | 1042 | +63% | head to head |
| rack-falcon | 783 | +22% | head to head |
| hanami | 626 | -2% | 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