dusty-tuned
Emerging · Zig · engine: zio · tuned configuration · completeness 4/4
Dusty HTTP server on the zio multi-threaded async runtime. Same as the dusty entry, except that JSON goes through json.zig instead of std.json, TLS goes through ztls's native engine instead of AWS-LC's libssl, and there are no request or keep-alive timeouts.
Achievements
🥇 2 Gold · 🥈 1 Silver · 🥉 2 Bronze. 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 | Family composite | Composite · HTTP/1.1 | 1 of 109 |
| 🥇 Gold | Test profile | Workload · JSON TLS | 1 of 105 |
| 🥈 Silver | Test profile | Workload · JSON Comp | 2 of 104 |
| 🥉 Bronze | Test profile | Connection · Baseline | 3 of 109 |
| 🥉 Bronze | Test profile | Connection · Short-lived | 3 of 109 |
Composite rank
Each profile of a family is worth 1,000 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 | 1 of 109 | 7638 |
Protocol compliance
The conformance suites this entry subscribes to, run against it on the benchmark machine: Http11Probe on HTTP/1.1, h2spec on HTTP/2, h3spec on HTTP/3 and Autobahn on WebSocket. A score, not part of the composite. How it works.
| Suite | Tool | Passed | Failed |
|---|---|---|---|
| HTTP/1.1 | http11probe d50d818 | 155 of 159 (97.5%) | 4 |
HTTP/1.1: what failed
| Test | Expected | Got |
|---|---|---|
COMP-OPTIONS-STAR OPTIONS * is the only valid asterisk-form request (RFC 9112 §3.2.4, MUST) | 2xx or 405; close/timeout = warn | 404, connection left open |
COMP-METHOD-CONNECT CONNECT to an origin server must be rejected (RFC 9110 §9.3.6, SHOULD) | 400/405/501 or close | 404, connection closed |
COMP-HOST-EMPTY-VALUE Empty Host header value must be rejected (RFC 9112 §3.2, MUST) | 400 or close | 200, connection left open |
SMUG-TE-LEADING-COMMA Transfer-Encoding with leading comma (, chunked) — RFC says empty list elements MUST be ignored (RFC 9110 §5.6.1, SHOULD) | 400 or 2xx | 501, connection closed |
Every result
Alpha Round, 14 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,399,844 | 1.20ms | 1.79ms | 6375.6% | 248MiB |
| Connection | Pipelined | 4,096 | 4,314,403 | 15.19ms | 20.20ms | 6022.5% | 234MiB |
| Connection | Short-lived | 4,096 | 2,535,904 | 1.60ms | 13.90ms | 6099.3% | 98MiB |
| Concurrency | Async Delay | 32,000 | 2,227,512 | 14.27ms | 22.30ms | 6361.4% | 1.5GiB |
| Efficiency | Latency-10K | 1,024 | 9,979 | 80.4us | 104.0us | 24.8% | 77MiB |
| Efficiency | Latency-1M | 1,024 | 997,723 | 102.7us | 199.0us | 2916.5% | 88MiB |
| Efficiency | Latency-500K/8 | 1,024 | 422,655 | 1368426.9us | 6486016.0us | 792.2% | 67MiB |
| Workload | JSON Comp | 4,096 | 650,945 | 6.27ms | 113.00ms | 6610.6% | 684MiB |
| Workload | JSON Comp | 16,384 | 654,739 | 23.48ms | 572.20ms | 6174.9% | 1.1GiB |
| Workload | JSON TLS | 4,096 | 1,879,440 | 2.00ms | 48.38ms | 6402.0% | 362MiB |
| Workload | 8Gbit | 512 | 49,369 | 87.0us | 108.0us | 185.4% | 85MiB |
| Workload | Static TLS | 1,024 | 418,559 | 2.69ms | 36.68ms | 6636.1% | 137MiB |
| Database | Async DB | 1,024 | 349,417 | 2.29ms | 10.10ms | 3827.2% | 158MiB |
| Database | Fortunes | 1,024 | 282,348 | 2.05ms | 10.10ms | 5081.9% | 161MiB |
Compared with
The Zig web frameworks around dusty-tuned on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.
| Entry | Composite | vs dusty-tuned | |
|---|---|---|---|
| dusty | 6948 | -9% | head to head |
Compare dusty-tuned with any Zig entry · Compare dusty-tuned with any entry, in any language · Every Zig entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry