chi
Flagship · Go · engine: net/http · standard configuration · completeness 4/4
chi v5 router on the Go net/http server, default configuration. Routing and path parameters through the chi API, encoding/json for the response body, gzip through the chi middleware.Compress middleware.
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 | 36 of 71 | 2242 |
Every result
Alpha Round, 13 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 | 476,370 | 8.54ms | 154.90ms | 3644.2% | 237MiB |
| Connection | Pipelined | 4,096 | 1,063,430 | 45.21ms | 1.72s | 4034.7% | 390MiB |
| Connection | Short-lived | 4,096 | 162,007 | 24.68ms | 261.50ms | 2111.8% | 65MiB |
| Concurrency | Async Delay | 32,000 | 619,267 | 51.19ms | 127.60ms | 5230.1% | 1.3GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 89.7us | 126.0us | 70.5% | 91MiB |
| Efficiency | Latency-1M | 1,024 | 416,494 | 5823950.5us | 11563008.0us | 2927.7% | 112MiB |
| Efficiency | Latency-500K/8 | 1,024 | 198,353 | 6009506.0us | 11907072.0us | 712.8% | 66MiB |
| Workload | JSON Comp | 4,096 | 190,659 | 21.20ms | 334.50ms | 5543.6% | 1.0GiB |
| Workload | JSON Comp | 16,384 | 193,444 | 83.37ms | 328.20ms | 5691.4% | 1.4GiB |
| Workload | JSON TLS | 4,096 | 354,283 | 106.39ms | 1.83s | 4879.0% | 344MiB |
| Workload | 8Gbit | 512 | 49,107 | 428.9us | 2421.0us | 1124.1% | 88MiB |
| Workload | Static TLS | 1,024 | 27,784 | 258.18ms | 2.00s | 5778.2% | 550MiB |
| Database | Async DB | 1,024 | 87,222 | 11.63ms | 27.30ms | 3961.8% | 179MiB |
Compared with
The Go entries around chi on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs chi | |
|---|---|---|---|
| fiber-tuned | 6462 | +188% | head to head |
| echo | 2330 | +4% | head to head |
| gin | 2301 | +3% | head to head |
| go-stdlib | 1912 | -15% | head to head |
| caddy | 828 | -63% | head to head |
Compare chi with any Go entry · Compare chi with any entry, in any language · Every Go entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry