humming-bird
Flagship · Swift · engine: hummingbird · tuned configuration
Lightweight, flexible HTTP server framework written in Swift, built on SwiftNIO with minimal dependencies.
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 | 60 of 97 | 189 |
Every result
Alpha Round, 18 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 | 401,131 | 1.24ms | 5.19ms | 6424.2% | 89.8MiB |
| Connection | Baseline | 4,096 | 402,360 | 6.26ms | 16.60ms | 6449.3% | 130.9MiB |
| Connection | Pipelined | 512 | 762,240 | 9.88ms | 19.60ms | 6446.0% | 63.8MiB |
| Connection | Pipelined | 4,096 | 786,408 | 40.07ms | 77.60ms | 6142.9% | 143.8MiB |
| Connection | Short-lived | 512 | 127,675 | 2.42ms | 20.60ms | 2216.6% | 42.5MiB |
| Connection | Short-lived | 4,096 | 126,607 | 2.81ms | 20.70ms | 2140.3% | 45.7MiB |
| Workload | JSON | 4,096 | 74,874 | 9.81ms | 98.20ms | 7174.8% | 65.0MiB |
| Workload | JSON Comp | 512 | 50,062 | 9.38ms | 47.00ms | 6348.7% | 89MiB |
| Workload | JSON Comp | 4,096 | 52,015 | 13.77ms | 136.80ms | 6313.9% | 87MiB |
| Workload | JSON Comp | 16,384 | 51,013 | 15.29ms | 142.20ms | 6505.6% | 88MiB |
| Workload | Upload | 32 | 3,000 | 10.60ms | 36.50ms | 2519.9% | 89.7MiB |
| Workload | Upload | 256 | 3,156 | 74.74ms | 256.50ms | 3914.8% | 183.8MiB |
| Workload | Static | 1,024 | 389,096 | 4.43ms | 4.43ms | 6331.0% | 67.4MiB |
| Workload | Static | 4,096 | 384,200 | 41.80ms | 41.80ms | 6345.0% | 158.9MiB |
| Workload | Static | 6,800 | 363,837 | 40.39ms | 40.39ms | 6581.6% | 163.9MiB |
| Database | Async DB | 1,024 | 17,135 | 55.38ms | 68.90ms | 6878.5% | 91.8MiB |
| Multi-endpoint | API-4 | 256 | 6,209 | 41.19ms | 146.30ms | 401.5% | 64.4MiB |
| Multi-endpoint | API-16 | 1,024 | 13,148 | 32.47ms | 133.10ms | 1648.6% | 180.1MiB |
How the benchmark is run · The machine · Add or fix an entry