HttpArena
Comparisons

Zig web framework comparison: any two, head to head

dusty-tuned is ahead of dusty on 14 of the 14 tests they both run. On the HTTP/1.1 composite dusty-tuned scores 7638 and dusty 6948.

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,399,8443,323,203+2%1.79ms1.83ms
Pipelined4,0964,314,4034,259,821+1%20.20ms21.80ms
Short-lived4,0962,535,9042,535,1730%13.90ms13.90ms
Async Delay32,0002,227,5122,130,544+5%22.30ms20.50ms
JSON Comp4,096650,945549,586+18%113.00ms161.50ms
JSON Comp16,384654,739542,531+21%572.20ms714.30ms
JSON TLS4,0961,879,4401,147,761+64%48.38ms41.38ms
Static TLS1,024418,559381,806+10%36.68ms26.04ms
Async DB1,024349,417304,196+15%10.10ms11.30ms
Fortunes1,024282,348276,336+2%10.10ms10.70ms
Fixed-rate profiles: score out of 100
Latency-10K1,02483.983.60%104us102us
Latency-1M1,02480.879.7+1%199us202us
Latency-500K/81,02434.632.9+5%6.49s6.00s
8Gbit51293.687.7+7%108us117us

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 14 of the 14 tests they both run. On the HTTP/1.1 composite dusty-tuned scores 7638 and dusty 6948. 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 7 of the 10 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 5 of the 5 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 16 of the 18 tests they both run, and behind on 2. 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 7638; among the Zig HTTP engines, zix holds the highest HTTP/1.1 composite, at 4745; among the experimental Zig frameworks, nilo holds the highest HTTP/1.1 composite, at 6333. 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