dusty
Emerging · Zig · engine: zio · standard configuration · completeness 4/4
Dusty HTTP framework on the zio async runtime (io_uring where available, epoll fallback). Router with params/wildcards, JSON, gzip, WebSocket. Standard configuration, no tuning.
Achievements
🥇 4 Gold · 🥈 2 Silver. 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 · WebSocket | 1 of 29 |
| 🥇 Gold | Test profile | Connection · Baseline | 1 of 84 |
| 🥇 Gold | Test profile | Efficiency · Latency-10K | 1 of 84 |
| 🥇 Gold | Test profile | WebSocket · Echo Pipelined | 1 of 26 |
| 🥈 Silver | Family composite | Composite · HTTP/1.1 | 2 of 84 |
| 🥈 Silver | Test profile | Workload · JSON Comp | 2 of 80 |
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 | 2 of 84 | 6980 |
| WebSocket | 1 of 29 | 2856 |
Every result
Alpha Round, 22 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,419,675 | 1.20ms | 2.41ms | 6644.1% | 200MiB |
| Connection | Pipelined | 4,096 | 4,389,657 | 14.96ms | 34.60ms | 6170.2% | 203MiB |
| Connection | Short-lived | 4,096 | 2,053,538 | 1.98ms | 19.00ms | 6583.9% | 102MiB |
| Concurrency | Async Delay | 32,000 | 2,230,177 | 14.24ms | 19.80ms | 6369.2% | 1.3GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 75.4us | 100.0us | 24.5% | 68MiB |
| Efficiency | Latency-1M | 1,024 | 998,123 | 97.5us | 196.0us | 2889.8% | 71MiB |
| Efficiency | Latency-500K/8 | 1,024 | 420,784 | 1421932.0us | 5785600.0us | 790.7% | 58MiB |
| Workload | JSON Comp | 4,096 | 558,281 | 7.21ms | 173.90ms | 6243.6% | 88MiB |
| Workload | JSON Comp | 16,384 | 558,819 | 27.01ms | 717.90ms | 6528.9% | 354MiB |
| Workload | JSON TLS | 4,096 | 1,199,668 | 3.21ms | 61.11ms | 6581.9% | 744MiB |
| Workload | 8Gbit | 512 | 49,326 | 108.5us | 146.0us | 263.3% | 120MiB |
| Workload | Static TLS | 1,024 | 365,412 | 3.04ms | 37.51ms | 6563.5% | 201MiB |
| Database | Async DB | 1,024 | 294,124 | 2.86ms | 11.90ms | 4182.5% | 131MiB |
| Database | Fortunes | 1,024 | 273,912 | 2.24ms | 11.40ms | 5242.0% | 151MiB |
| WebSocket | Echo | 512 | 4,064,408 | 125us | 182us | 6370.8% | 50MiB |
| WebSocket | Echo | 4,096 | 3,960,851 | 1.01ms | 3.01ms | 6297.6% | 202MiB |
| WebSocket | Echo | 16,384 | 3,506,608 | 2.88ms | 12.40ms | 6130.5% | 711MiB |
| WebSocket | Echo Pipelined | 512 | 59,037,107 | 138us | 256us | 6443.2% | 53MiB |
| WebSocket | Echo Pipelined | 4,096 | 57,254,444 | 1.12ms | 2.95ms | 6573.3% | 216MiB |
| WebSocket | Echo Pipelined | 16,384 | 49,135,697 | 2.96ms | 10.50ms | 6109.0% | 732MiB |
| WebSocket | Echo Short-lived | 512 | 2,155,547 | 101us | 264us | 6408.1% | 53MiB |
| WebSocket | Echo Short-lived | 4,096 | 2,068,288 | 110us | 310us | 6539.3% | 105MiB |
Compared with
The Zig entries around dusty on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs dusty | |
|---|---|---|---|
| dusty-tuned | 7394 | +6% | head to head |
| nilo | 6350 | -9% | head to head |
| swerver | 6164 | -12% | head to head |
Compare dusty with any Zig entry · Compare dusty with any entry, in any language · Every Zig entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry