sober
Experimental · Sober · engine: std/http · standard configuration · completeness 4/4
Sober's standard library HTTP/1.1 server (std/http on std/net, TLS 1.3 from std/tls), default configuration. One task per connection, io_uring with an acceptor per worker (epoll fallback). Routes are a plain table ([]http.Route with method, :param / *rest patterns, Mount / Merge, before / after middleware), JSON through std/json, gzip through the built-in compress: option of the server. Static ELF with no libc, FROM scratch.
Achievements
🥇 1 Gold. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥇 Gold | Test profile | Efficiency · Latency-10K | 1 of 9 |
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 | 6 of 11 | 4873 |
Every result
Alpha Round, 11 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 | 3,288,448 | 1.25ms | 1.90ms | 6478.2% | 444MiB |
| Connection | Pipelined | 4,096 | 28,546,176 | 2.30ms | 3.22ms | 6547.1% | 336MiB |
| Connection | Short-lived | 4,096 | 290,107 | 14.01ms | 125.00ms | 3395.8% | 668MiB |
| Concurrency | Async Delay | 32,000 | 1,926,600 | 14.52ms | 16.50ms | 5558.2% | 1.9GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 67.7us | 104.0us | 24.0% | 253MiB |
| Efficiency | Latency-1M | 1,024 | 997,493 | 768.9us | 4718.0us | 3782.5% | 254MiB |
| Efficiency | Latency-500K/8 | 1,024 | 382,589 | 2256684.4us | 5982208.0us | 748.4% | 110MiB |
| Workload | JSON Comp | 4,096 | 299,962 | 13.69ms | 27.10ms | 6469.5% | 1.3GiB |
| Workload | JSON Comp | 16,384 | 277,205 | 58.50ms | 635.00ms | 5651.0% | 3.6GiB |
| Workload | JSON TLS | 4,096 | 819,384 | 4.96ms | 271.68ms | 6600.7% | 1.5GiB |
| Workload | 8Gbit | 512 | 48,980 | 92.1us | 124.0us | 252.3% | 414MiB |
Compare sober with any entry, in any language · Every Sober entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry