sinatra
Flagship · Ruby · engine: puma · standard configuration
Sinatra DSL web framework on Puma, multi-threaded with one worker per CPU core.
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. 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 | 39 of 71 | 194 |
Every result
Alpha Round, 23 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 | 512 | 98,225 | 5.21ms | 66.50ms | 4526.0% | 6.7GiB |
| Connection | Baseline | 4,096 | 58,507 | 59.81ms | 235.40ms | 3410.4% | 4.9GiB |
| Connection | Pipelined | 512 | 430,404 | 18.89ms | 55.30ms | 6519.8% | 2.1GiB |
| Connection | Pipelined | 4,096 | 427,147 | 135.91ms | 293.60ms | 6519.5% | 2.1GiB |
| Connection | Short-lived | 512 | 37,259 | 13.73ms | 49.50ms | 2830.5% | 3.5GiB |
| Connection | Short-lived | 4,096 | 39,840 | 90.64ms | 201.50ms | 2868.2% | 4.3GiB |
| Workload | JSON | 4,096 | 201,560 | 18.17ms | 47.20ms | 6470.8% | 4.6GiB |
| Workload | JSON Comp | 512 | 118,140 | 4.33ms | 18.60ms | 6386.9% | 4.6GiB |
| Workload | JSON Comp | 4,096 | 123,912 | 30.05ms | 53.70ms | 6531.1% | 4.4GiB |
| Workload | JSON Comp | 16,384 | 121,500 | 79.17ms | 298.80ms | 6219.4% | 4.5GiB |
| Workload | JSON TLS | 4,096 | 185,424 | 21.95ms | 21.95ms | 6576.4% | 6.0GiB |
| Workload | Upload | 32 | 949 | 33.63ms | 133.90ms | 3134.5% | 8.6GiB |
| Workload | Upload | 256 | 921 | 262.84ms | 1.39s | 6288.4% | 8.3GiB |
| Workload | Static | 1,024 | 23,486 | 43.83ms | 43.83ms | 6528.3% | 6.6GiB |
| Workload | Static | 4,096 | 23,295 | 163.65ms | 163.65ms | 6419.6% | 7.0GiB |
| Workload | Static | 6,800 | 23,215 | 255.93ms | 255.93ms | 6388.4% | 7.1GiB |
| Workload | Static TLS | 1,024 | 21,773 | 46.94ms | 240.50ms | 6508.7% | 7.2GiB |
| Workload | Static TLS | 4,096 | 21,485 | 182.58ms | 459.08ms | 6453.9% | 7.4GiB |
| Workload | Static TLS | 6,800 | 21,187 | 291.59ms | 632.66ms | 6516.4% | 7.4GiB |
| Database | Async DB | 1,024 | 100,503 | 9.52ms | 20.40ms | 6305.6% | 2.8GiB |
| Database | CRUD | 4,096 | 64,585 | 61.16ms | 82.00ms | 2974.9% | 3.9GiB |
| Multi-endpoint | API-4 | 256 | 16,064 | 15.02ms | 64.40ms | 391.5% | 432MiB |
| Multi-endpoint | API-16 | 1,024 | 40,543 | 24.11ms | 107.70ms | 1646.6% | 1.3GiB |
How the benchmark is run · The machine · Add or fix an entry