humming-bird
Flagship · Swift · engine: hummingbird · tuned configuration · completeness 4/4
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, 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 | 71 of 93 | 1460 |
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 | 402,360 | 6.26ms | 16.60ms | 6449.3% | 130.9MiB |
| Connection | Pipelined | 4,096 | 786,408 | 40.07ms | 77.60ms | 6142.9% | 143.8MiB |
| Connection | Short-lived | 4,096 | 126,607 | 2.81ms | 20.70ms | 2140.3% | 45.7MiB |
| Concurrency | Async Delay | 32,000 | 195,215 | 94.50ms | 105.30ms | 3239.7% | 623MiB |
| Efficiency | Latency-10K | 1,024 | 9,754 | 165.9us | 204.0us | 106.2% | 90MiB |
| Efficiency | Latency-1M | 1,024 | 390,395 | 5708348.3us | 11751424.0us | 6691.4% | 78MiB |
| Efficiency | Latency-500K/8 | 1,024 | 90,969 | 7545640.1us | 15724544.0us | 818.3% | 84MiB |
| 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 | JSON TLS | 4,096 | 80,234 | 28.21ms | 100.49ms | 6399.7% | 327MiB |
| Workload | 8Gbit | 512 | 49,072 | 194.7us | 309.0us | 701.2% | 78MiB |
| Database | Async DB | 1,024 | 17,135 | 55.38ms | 68.90ms | 6878.5% | 91.8MiB |
Compare humming-bird with any entry, in any language · Every Swift entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry