HttpArena
Comparisons

Zig web framework comparison: any two, head to head

swerver is quicker than nilo on 8 of the 11 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 7632 and 6810.

Pick any two of the 6 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. What each profile measures.

ProfileConnsswerver req/secnilo req/secDeltaswerver p99nilo p99
Baseline4,0963,668,6822,957,435+24%2.17ms1.58ms
Pipelined4,09623,068,2728,103,580+185%3.67ms8.35ms
Short-lived4,0962,629,1132,303,617+14%3.18ms10.40ms
Async Delay32,0001,710,5921,956,056-13%21.20ms29.10ms
Latency-10K1,0249,9749,983-0%102.0us106.0us
Latency-1M1,024997,842997,873-0%175.0us201.0us
JSON Comp4,096421,012270,152+56%27.70ms148.60ms
JSON Comp16,384414,281268,625+54%74.90ms397.90ms
JSON TLS4,0961,510,1491,333,036+13%55.48ms65.00ms
8Gbit51249,35549,160+0%125.0us150.0us
Async DB1,024374,34757,285+553%13.00ms77.60ms

Common comparisons

swerver vs nilo · swerver vs zix · swerver vs dusty · nilo vs zix · nilo vs dusty · zix vs dusty

Questions

Is swerver faster than nilo?

swerver is quicker than nilo on 8 of the 11 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 7632 and 6810. Both run on the same machine, in the same round, against the same profiles.

Is swerver faster than zix?

zix is quicker than swerver on 23 of the 25 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 7632 and 4839. Both run on the same machine, in the same round, against the same profiles.

Is swerver faster than dusty?

swerver is quicker than dusty on 6 of the 9 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 7632 and 4077. Both run on the same machine, in the same round, against the same profiles.

Is nilo faster than zix?

zix is quicker than nilo on 15 of the 17 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 6810 and 4839. Both run on the same machine, in the same round, against the same profiles.

Which Zig framework is fastest overall?

swerver holds the highest HTTP/1.1 composite of the Zig entries, at 7632. 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