HttpArena
Frameworks

dusty-tuned

Emerging · Zig · engine: zio · tuned configuration · completeness 4/4

Dusty HTTP framework on the zio async runtime, the dusty entry with two changes: JSON through json.zig instead of std.json, and no request or keep-alive timeouts. Same routes, static and TLS paths as dusty.

Achievements

🥇 5 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
🥇 GoldFamily compositeComposite · HTTP/1.11 of 103
🥇 GoldTest profileConnection · Baseline1 of 103
🥇 GoldTest profileWebSocket · Echo Pipelined1 of 32
🥇 GoldTest profileWorkload · JSON Comp1 of 99
🥇 GoldTest profileWorkload · JSON TLS1 of 100
🥈 SilverFamily compositeComposite · WebSocket2 of 36

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.11 of 1037417
WebSocket2 of 362854

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,429,9601.20ms2.52ms6332.4%201MiB
ConnectionPipelined4,0964,421,57314.82ms41.30ms6423.4%205MiB
ConnectionShort-lived4,0962,056,5951.98ms19.00ms6578.0%102MiB
ConcurrencyAsync Delay32,0002,258,86714.05ms20.10ms6364.6%1.3GiB
EfficiencyLatency-10K1,0249,97887.3us101.0us25.0%66MiB
EfficiencyLatency-1M1,024997,391108.4us200.0us2889.4%70MiB
EfficiencyLatency-500K/81,024422,9431429024.4us6313984.0us790.5%58MiB
WorkloadJSON Comp4,096688,6305.87ms141.20ms6356.9%95MiB
WorkloadJSON Comp16,384676,63322.63ms589.40ms6618.5%386MiB
WorkloadJSON TLS4,0961,626,9432.36ms74.96ms6479.2%743MiB
Workload8Gbit51249,287108.7us144.0us310.2%120MiB
WorkloadStatic TLS1,024365,0983.03ms31.33ms6568.5%201MiB
DatabaseAsync DB1,024331,6572.52ms11.00ms3928.9%128MiB
DatabaseFortunes1,024276,6522.18ms11.00ms5204.3%155MiB
WebSocketEcho5124,055,068125us184us6532.7%50MiB
WebSocketEcho4,0963,923,7651.02ms4.13ms6235.9%200MiB
WebSocketEcho16,3843,478,2053.13ms12.70ms6052.4%716MiB
WebSocketEcho Pipelined51259,249,435137us263us6469.4%52MiB
WebSocketEcho Pipelined4,09657,343,3471.12ms2.58ms6315.9%215MiB
WebSocketEcho Pipelined16,38449,385,9683.40ms13.20ms6566.4%756MiB
WebSocketEcho Short-lived5122,161,398101us270us6527.6%53MiB
WebSocketEcho Short-lived4,0962,069,874113us325us6259.9%150MiB

Compared with

The Zig entries around dusty-tuned on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs dusty-tuned
dusty7002-6%head to head
nilo6354-14%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