HttpArena
Frameworks

dusty-tuned

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

Dusty HTTP server on the zio multi-threaded async runtime. Same as the dusty entry, except that JSON goes through json.zig instead of std.json, TLS goes through ztls's native engine instead of AWS-LC's libssl, and there are no request or keep-alive timeouts.

Achievements

🥇 2 Gold · 🥈 1 Silver · 🥉 2 Bronze. 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 109
🥇 GoldTest profileWorkload · JSON TLS1 of 105
🥈 SilverTest profileWorkload · JSON Comp2 of 104
🥉 BronzeTest profileConnection · Baseline3 of 109
🥉 BronzeTest profileConnection · Short-lived3 of 109

Composite rank

Each profile of a family is worth 1,000 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 1097638

Protocol compliance

The conformance suites this entry subscribes to, run against it on the benchmark machine: Http11Probe on HTTP/1.1, h2spec on HTTP/2, h3spec on HTTP/3 and Autobahn on WebSocket. A score, not part of the composite. How it works.

SuiteToolPassedFailed
HTTP/1.1http11probe d50d818155 of 159 (97.5%)4

HTTP/1.1: what failed

TestExpectedGot
COMP-OPTIONS-STAR OPTIONS * is the only valid asterisk-form request (RFC 9112 §3.2.4, MUST)2xx or 405; close/timeout = warn404, connection left open
COMP-METHOD-CONNECT CONNECT to an origin server must be rejected (RFC 9110 §9.3.6, SHOULD)400/405/501 or close404, connection closed
COMP-HOST-EMPTY-VALUE Empty Host header value must be rejected (RFC 9112 §3.2, MUST)400 or close200, connection left open
SMUG-TE-LEADING-COMMA Transfer-Encoding with leading comma (, chunked) — RFC says empty list elements MUST be ignored (RFC 9110 §5.6.1, SHOULD)400 or 2xx501, connection closed

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,399,8441.20ms1.79ms6375.6%248MiB
ConnectionPipelined4,0964,314,40315.19ms20.20ms6022.5%234MiB
ConnectionShort-lived4,0962,535,9041.60ms13.90ms6099.3%98MiB
ConcurrencyAsync Delay32,0002,227,51214.27ms22.30ms6361.4%1.5GiB
EfficiencyLatency-10K1,0249,97980.4us104.0us24.8%77MiB
EfficiencyLatency-1M1,024997,723102.7us199.0us2916.5%88MiB
EfficiencyLatency-500K/81,024422,6551368426.9us6486016.0us792.2%67MiB
WorkloadJSON Comp4,096650,9456.27ms113.00ms6610.6%684MiB
WorkloadJSON Comp16,384654,73923.48ms572.20ms6174.9%1.1GiB
WorkloadJSON TLS4,0961,879,4402.00ms48.38ms6402.0%362MiB
Workload8Gbit51249,36987.0us108.0us185.4%85MiB
WorkloadStatic TLS1,024418,5592.69ms36.68ms6636.1%137MiB
DatabaseAsync DB1,024349,4172.29ms10.10ms3827.2%158MiB
DatabaseFortunes1,024282,3482.05ms10.10ms5081.9%161MiB

Compared with

The Zig web frameworks around dusty-tuned on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

EntryCompositevs dusty-tuned
dusty6948-9%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