HttpArena

Zig web framework comparison: any two, head to head

dusty-tuned is ahead of dusty on 11 of the 15 tests they both run, and behind on 3. On the HTTP/1.1 composite dusty-tuned scores 6347 and dusty 5996.

Pick any two of the 10 Zig entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. The fixed-rate profiles offer every entry the same request rate, so they are compared on their score out of 100 instead, which is CPU cost and latency at that rate. What each profile measures.

ProfileConnsdusty-tuneddustyDeltadusty-tuned p99dusty p99
Requests per second
Baseline4,0963,370,9423,328,878+1%1.76ms2.03ms
Pipelined4,0964,243,2554,285,966-1%23.90ms24.80ms
Short-lived4,0962,488,5802,529,377-2%14.20ms14.00ms
Async Delay32,0002,219,4422,214,3120%21.80ms20.30ms
JSON Comp4,096656,112547,888+20%111.30ms159.40ms
JSON Comp16,384670,240549,527+22%578.90ms716.70ms
JSON TLS4,0961,888,7121,141,348+65%48.03ms60.11ms
Static TLS1,024392,422380,060+3%27.23ms25.97ms
Async DB1,024348,247306,027+14%12.40ms12.90ms
Fortunes1,024211,840210,8600%21.20ms21.20ms
Fixed-rate profiles: score out of 100
CON-1M1,000,00067.467.40%145us144us
CON-1M-TLS1,000,00072.969.3+5%108us122us
Latency-10K1,02483.384.0-1%102us100us
Latency-1M1,02482.981.3+2%193us200us
8Gbit51294.287.3+8%110us117us

Common comparisons

dusty-tuned vs dusty · dusty-tuned vs zix · dusty-tuned vs libxev · dusty vs zix · dusty vs libxev · zix vs libxev

Questions

Is dusty-tuned faster than dusty?

dusty-tuned is ahead of dusty on 11 of the 15 tests they both run, and behind on 3. On the HTTP/1.1 composite dusty-tuned scores 6347 and dusty 5996. Both run on the same machine, in the same round, against the same profiles.

Is dusty-tuned faster than zix?

zix is ahead of dusty-tuned on 6 of the 9 tests they both run, and behind on 3. Their composite scores are not on one scale: dusty-tuned is ranked among web frameworks and zix among HTTP engines, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Is dusty-tuned faster than libxev?

libxev is ahead of dusty-tuned on 4 of the 4 tests they both run. Their composite scores are not on one scale: dusty-tuned is ranked among web frameworks and libxev among HTTP engines, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Is dusty faster than zix?

zix is ahead of dusty on 14 of the 17 tests they both run, and behind on 3. Their composite scores are not on one scale: dusty is ranked among web frameworks and zix among HTTP engines, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Which Zig framework is fastest overall?

Among the Zig web frameworks, dusty-tuned holds the highest HTTP/1.1 composite, at 6347; among the Zig HTTP engines, zix holds the highest HTTP/1.1 composite, at 3850; among the experimental Zig frameworks, anole holds the highest HTTP/1.1 composite, at 4859. Each league is measured against its own leader, and the leagues do not all count the same profiles, so those numbers are not on one scale and the highest of them is not the fastest entry on the page: to set an entry of one league against an entry of another, pick the two in the table above. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every Zig entry

Results updated · Zig composite ranking · Compare across languages · Other languages · Open the leaderboard