HttpArena
Frameworks

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.

MedalAwardFieldRank
🥇 GoldFamily compositeComposite · WebSocket1 of 29
🥇 GoldTest profileConnection · Baseline1 of 84
🥇 GoldTest profileEfficiency · Latency-10K1 of 84
🥇 GoldTest profileWebSocket · Echo Pipelined1 of 26
🥈 SilverFamily compositeComposite · HTTP/1.12 of 84
🥈 SilverTest profileWorkload · JSON Comp2 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.

FamilyRankComposite
HTTP/1.12 of 846980
WebSocket1 of 292856

Every result

Alpha Round, 22 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,419,6751.20ms2.41ms6644.1%200MiB
ConnectionPipelined4,0964,389,65714.96ms34.60ms6170.2%203MiB
ConnectionShort-lived4,0962,053,5381.98ms19.00ms6583.9%102MiB
ConcurrencyAsync Delay32,0002,230,17714.24ms19.80ms6369.2%1.3GiB
EfficiencyLatency-10K1,0249,98375.4us100.0us24.5%68MiB
EfficiencyLatency-1M1,024998,12397.5us196.0us2889.8%71MiB
EfficiencyLatency-500K/81,024420,7841421932.0us5785600.0us790.7%58MiB
WorkloadJSON Comp4,096558,2817.21ms173.90ms6243.6%88MiB
WorkloadJSON Comp16,384558,81927.01ms717.90ms6528.9%354MiB
WorkloadJSON TLS4,0961,199,6683.21ms61.11ms6581.9%744MiB
Workload8Gbit51249,326108.5us146.0us263.3%120MiB
WorkloadStatic TLS1,024365,4123.04ms37.51ms6563.5%201MiB
DatabaseAsync DB1,024294,1242.86ms11.90ms4182.5%131MiB
DatabaseFortunes1,024273,9122.24ms11.40ms5242.0%151MiB
WebSocketEcho5124,064,408125us182us6370.8%50MiB
WebSocketEcho4,0963,960,8511.01ms3.01ms6297.6%202MiB
WebSocketEcho16,3843,506,6082.88ms12.40ms6130.5%711MiB
WebSocketEcho Pipelined51259,037,107138us256us6443.2%53MiB
WebSocketEcho Pipelined4,09657,254,4441.12ms2.95ms6573.3%216MiB
WebSocketEcho Pipelined16,38449,135,6972.96ms10.50ms6109.0%732MiB
WebSocketEcho Short-lived5122,155,547101us264us6408.1%53MiB
WebSocketEcho Short-lived4,0962,068,288110us310us6539.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.

EntryCompositevs dusty
dusty-tuned7394+6%head to head
nilo6350-9%head to head
swerver6164-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