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
🥇 2 Gold · 🥈 1 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 | Test profile | Connection · Baseline | 1 of 77 |
| 🥇 Gold | Test profile | Efficiency · Latency-10K | 1 of 77 |
| 🥈 Silver | Test profile | WebSocket · Echo | 2 of 20 |
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 | 17 of 77 | 4077 |
| WebSocket | 4 of 20 | 1830 |
Every result
Alpha Round, 18 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,265,891 | 1.10ms | 1.84ms | 6618.5% | 187MiB |
| Connection | Pipelined | 4,096 | 85,085 | 14.06ms | 12.90ms | 949.9% | 69MiB |
| Connection | Short-lived | 4,096 | 752,388 | 1.57ms | 13.90ms | 3048.3% | 60MiB |
| Concurrency | Async Delay | 32,000 | 1,863,445 | 14.32ms | 21.60ms | 5311.4% | 1.2GiB |
| Efficiency | Latency-10K | 1,024 | 9,984 | 65.0us | 102.0us | 32.7% | 68MiB |
| Efficiency | Latency-1M | 1,024 | 998,006 | 101.9us | 199.0us | 3876.0% | 69MiB |
| Efficiency | Latency-500K/8 | 1,024 | 439,405 | 1132961.6us | 3871744.0us | 796.8% | 54MiB |
| Workload | JSON Comp | 4,096 | 94,613 | 34.90ms | 124.20ms | 3333.3% | 1.3GiB |
| Workload | JSON Comp | 16,384 | 113,424 | 43.31ms | 253.50ms | 3504.4% | 1.7GiB |
| Database | Async DB | 1,024 | 217,934 | 4.14ms | 86.30ms | 3285.0% | 103MiB |
| WebSocket | Echo | 512 | 4,057,673 | 125us | 190us | 6434.0% | 48MiB |
| WebSocket | Echo | 4,096 | 3,979,902 | 857us | 1.79ms | 6283.5% | 187MiB |
| WebSocket | Echo | 16,384 | 3,705,865 | 1.49ms | 3.99ms | 6028.8% | 370MiB |
| WebSocket | Echo Pipelined | 512 | 23,034,084 | 355us | 561us | 6399.9% | 50MiB |
| WebSocket | Echo Pipelined | 4,096 | 24,122,465 | 2.36ms | 4.04ms | 6380.4% | 203MiB |
| WebSocket | Echo Pipelined | 16,384 | 23,056,500 | 2.67ms | 10.50ms | 6051.1% | 246MiB |
| WebSocket | Echo Short-lived | 512 | 756,657 | 44us | 110us | 3265.0% | 74MiB |
| WebSocket | Echo Short-lived | 4,096 | 744,613 | 45us | 118us | 3125.8% | 100MiB |
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 | |
|---|---|---|---|
| nilo | 6847 | +68% | head to head |
| swerver | 6825 | +67% | head to head |
| zix | 4839 | +19% | head to head |
| libxev | 3920 | -4% | head to head |
| zeemo | 3773 | -7% | 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