hanami
Flagship · Ruby · engine: Puma · standard configuration · completeness 4/4
Hanami 2.3 actions and router on Puma, one worker per core. Routing and params through the Hanami API, JSON generated per request, gzip through Rack::Deflater.
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 | 67 of 71 | 626 |
Every result
Alpha Round, 11 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 | 44,393 | 80.39ms | 180.80ms | 3968.7% | 3.0GiB |
| Connection | Pipelined | 4,096 | 632,630 | 87.82ms | 191.10ms | 6622.4% | 2.2GiB |
| Connection | Short-lived | 4,096 | 36,095 | 101.10ms | 226.90ms | 3471.0% | 2.9GiB |
| Concurrency | Async Delay | 32,000 | 23,738 | 606.72ms | 5.00s | 642.6% | 5.9GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 461.6us | 1233.0us | 412.6% | 2.6GiB |
| Efficiency | Latency-1M | 1,024 | 145,308 | 8440804.2us | 17244160.0us | 5875.3% | 2.9GiB |
| Efficiency | Latency-500K/8 | 1,024 | 21,022 | 9546962.4us | 18931712.0us | 810.5% | 537MiB |
| Workload | JSON Comp | 4,096 | 84,648 | 42.61ms | 76.70ms | 6491.2% | 3.5GiB |
| Workload | JSON Comp | 16,384 | 83,606 | 136.59ms | 1.01s | 6494.7% | 3.8GiB |
| Workload | JSON TLS | 4,096 | 115,354 | 34.53ms | 167.39ms | 6456.0% | 4.9GiB |
| Workload | 8Gbit | 512 | 49,285 | 980.5us | 7890.0us | 2806.1% | 4.9GiB |
Compared with
The Ruby entries around hanami on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs hanami | |
|---|---|---|---|
| h2o-mruby | 3350 | +435% | head to head |
| rack-falcon | 783 | +25% | head to head |
| rails | 640 | +2% | head to head |
Compare hanami with any Ruby entry · Compare hanami with any entry, in any language · Every Ruby entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry