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

🥇 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.

MedalAwardFieldRank
🥇 GoldTest profileConnection · Baseline1 of 77
🥇 GoldTest profileEfficiency · Latency-10K1 of 77
🥈 SilverTest profileWebSocket · Echo2 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.

FamilyRankComposite
HTTP/1.117 of 774077
WebSocket4 of 201830

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,265,8911.10ms1.84ms6618.5%187MiB
ConnectionPipelined4,09685,08514.06ms12.90ms949.9%69MiB
ConnectionShort-lived4,096752,3881.57ms13.90ms3048.3%60MiB
ConcurrencyAsync Delay32,0001,863,44514.32ms21.60ms5311.4%1.2GiB
EfficiencyLatency-10K1,0249,98465.0us102.0us32.7%68MiB
EfficiencyLatency-1M1,024998,006101.9us199.0us3876.0%69MiB
EfficiencyLatency-500K/81,024439,4051132961.6us3871744.0us796.8%54MiB
WorkloadJSON Comp4,09694,61334.90ms124.20ms3333.3%1.3GiB
WorkloadJSON Comp16,384113,42443.31ms253.50ms3504.4%1.7GiB
DatabaseAsync DB1,024217,9344.14ms86.30ms3285.0%103MiB
WebSocketEcho5124,057,673125us190us6434.0%48MiB
WebSocketEcho4,0963,979,902857us1.79ms6283.5%187MiB
WebSocketEcho16,3843,705,8651.49ms3.99ms6028.8%370MiB
WebSocketEcho Pipelined51223,034,084355us561us6399.9%50MiB
WebSocketEcho Pipelined4,09624,122,4652.36ms4.04ms6380.4%203MiB
WebSocketEcho Pipelined16,38423,056,5002.67ms10.50ms6051.1%246MiB
WebSocketEcho Short-lived512756,65744us110us3265.0%74MiB
WebSocketEcho Short-lived4,096744,61345us118us3125.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.

EntryCompositevs dusty
nilo6847+68%head to head
swerver6825+67%head to head
zix4839+19%head to head
libxev3920-4%head to head
zeemo3773-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