go-stdlib
Flagship · Go · engine: net/http · tuned configuration
The Go standard library net/http server with no framework, default configuration. Routing through the ServeMux method and wildcard patterns of Go 1.22, JSON through encoding/json, gzip written by hand with compress/gzip because the standard library ships no compression 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 | 63 of 97 | 173 |
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 | 319,715 | 1.60ms | 13.00ms | 2478.4% | 73MiB |
| Connection | Baseline | 4,096 | 519,197 | 7.90ms | 110.10ms | 3687.0% | 210MiB |
| Connection | Pipelined | 512 | 863,366 | 9.37ms | 176.60ms | 3444.6% | 96MiB |
| Connection | Pipelined | 4,096 | 1,226,241 | 39.14ms | 1.38s | 4275.9% | 304MiB |
| Connection | Short-lived | 512 | 128,403 | 3.98ms | 42.10ms | 1868.8% | 60MiB |
| Connection | Short-lived | 4,096 | 159,245 | 25.12ms | 264.00ms | 2037.2% | 69MiB |
| Workload | JSON | 4,096 | 259,804 | 15.13ms | 381.40ms | 3478.5% | 175MiB |
| Workload | JSON Comp | 512 | 182,521 | 2.80ms | 32.60ms | 5331.3% | 258MiB |
| Workload | JSON Comp | 4,096 | 187,472 | 21.71ms | 298.80ms | 5631.6% | 739MiB |
| Workload | JSON Comp | 16,384 | 188,597 | 85.66ms | 274.50ms | 5613.0% | 1.2GiB |
| Workload | Upload | 32 | 2,464 | 12.95ms | 37.20ms | 2256.8% | 43MiB |
| Workload | Upload | 256 | 2,937 | 81.09ms | 315.60ms | 4054.6% | 67MiB |
How the benchmark is run · The machine · Add or fix an entry