chi
Flagship · Go · engine: net/http · standard configuration
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. 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 | 46 of 71 | 167 |
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 | 512 | 295,295 | 1.73ms | 14.50ms | 2444.0% | 75MiB |
| Connection | Baseline | 4,096 | 477,332 | 8.52ms | 130.20ms | 3611.5% | 206MiB |
| Connection | Pipelined | 512 | 730,574 | 11.13ms | 164.70ms | 3107.2% | 85MiB |
| Connection | Pipelined | 4,096 | 1,072,156 | 46.12ms | 1.47s | 3982.9% | 341MiB |
| Connection | Short-lived | 512 | 135,088 | 3.79ms | 40.40ms | 1937.7% | 63MiB |
| Connection | Short-lived | 4,096 | 159,193 | 25.21ms | 267.50ms | 2132.1% | 65MiB |
| Workload | JSON | 4,096 | 205,713 | 19.19ms | 511.50ms | 3140.6% | 146MiB |
| Workload | JSON Comp | 512 | 186,586 | 2.73ms | 31.50ms | 5494.3% | 431MiB |
| Workload | JSON Comp | 4,096 | 194,016 | 21.08ms | 277.80ms | 5707.8% | 1.2GiB |
| Workload | JSON Comp | 16,384 | 194,581 | 82.41ms | 774.90ms | 5684.9% | 2.4GiB |
| Workload | Upload | 32 | 2,431 | 13.12ms | 37.20ms | 2241.1% | 42MiB |
| Workload | Upload | 256 | 2,918 | 80.91ms | 299.40ms | 3968.7% | 68MiB |
How the benchmark is run · The machine · Add or fix an entry