HttpArena
Comparisons

Zig web framework comparison: any two, head to head

swerver is quicker than nilo on 17 of the 24 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 7489 and 7170.

Pick any two of the 7 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.

ProfileConnsnilo req/secswerver req/secDeltanilo p99swerver p99
Baseline4,0963,076,5503,668,682-16%1.52ms2.17ms
Pipelined4,09612,006,23023,068,272-48%11.00ms3.67ms
Short-lived4,0962,301,6472,629,113-12%10.60ms3.18ms
Async Delay32,0001,973,4701,710,592+15%28.00ms21.20ms
Latency-10K1,0249,9839,974+0%103.0us102.0us
Latency-1M1,024997,605997,842-0%180.0us175.0us
JSON Comp4,096611,376421,012+45%31.20ms27.70ms
JSON Comp16,384594,331414,281+43%179.00ms74.90ms
JSON TLS4,0961,561,9271,510,149+3%309.41ms55.48ms
8Gbit51249,26649,355-0%144.0us125.0us
Async DB1,02468,515374,347-82%59.80ms13.00ms
Baseline2567,267,8744,027,974+80%24.26ms36.38ms
Baseline1,0248,912,0704,188,242+113%120.50ms115.19ms
Static256862,1911,137,287-24%25.11ms41.96ms
Static1,024201,5611,085,942-81%253.54ms171.84ms
Baseline (h2c)2569,010,31012,624,758-29%11.03ms8.24ms
Baseline (h2c)1,0247,234,45112,774,896-43%46.11ms61.07ms
Baseline (h2c)4,0966,873,41311,605,652-41%146.15ms202.30ms
JSON (h2c)1,0241,409,4544,557,366-69%94.60ms63.86ms
JSON (h2c)4,0961,387,4334,434,190-69%327.18ms295.96ms
Unary2566,357,4626,821,807-7%9.96ms36.16ms
Unary1,0246,706,9126,767,120-1%197.47ms35.13ms
Unary TLS2562,126,7943,552,155-40%113.54ms38.33ms
Unary TLS1,0243,391,3373,614,786-6%561.80ms114.07ms

Common comparisons

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

Questions

Is nilo faster than swerver?

swerver is quicker than nilo on 17 of the 24 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 7489 and 7170. Both run on the same machine, in the same round, against the same profiles.

Is nilo faster than dusty?

nilo is quicker than dusty on 12 of the 20 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 7489 and 6938. 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 27 of the 30 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 7489 and 4794. 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 9 of the 12 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 7170 and 6938. Both run on the same machine, in the same round, against the same profiles.

Which Zig framework is fastest overall?

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