HttpArena
Comparisons

Zig web framework comparison: any two, head to head

zix is quicker than swerver on 22 of the 25 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 6825 and 4839.

Pick any two of the 4 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/seczix req/secDeltaswerver p99zix p99
Baseline4,0963,665,6274,442,329-17%2.15ms1.19ms
Pipelined4,09623,561,03058,761,616-60%3.65ms1.59ms
Short-lived4,0962,620,1342,708,192-3%3.13ms1.89ms
Latency-10K1,0249,9839,980+0%98.0us102.0us
Latency-1M1,024997,622997,527+0%176.0us153.0us
JSON Comp4,096407,7801,046,581-61%28.00ms8.60ms
JSON Comp16,384414,2961,018,808-59%74.10ms23.70ms
JSON TLS4,0961,502,2721,845,248-19%65.13ms109.34ms
Static TLS1,0241,101,306339,689+224%15.30ms30.48ms
Async DB1,024369,867400,444-8%17.20ms20.40ms
Baseline2563,878,12714,076,613-72%48.09ms17.29ms
Baseline1,0244,203,40814,090,534-70%146.87ms99.66ms
Static2561,134,5401,692,045-33%85.76ms60.58ms
Static1,0241,083,1521,650,640-34%174.23ms169.67ms
Baseline (h2c)25612,451,34113,956,726-11%8.43ms6.54ms
Baseline (h2c)1,02412,505,46714,569,901-14%69.64ms58.31ms
Baseline (h2c)4,09611,606,25613,411,078-13%192.10ms58.21ms
JSON (h2c)1,0244,526,4936,821,589-34%41.02ms18.67ms
JSON (h2c)4,0964,409,3846,746,440-35%180.35ms104.64ms
Baseline64901,5159,086,240-90%7.11ms796us
Static64406,802595,586-32%648us20.04ms
Unary2566,790,3747,000,555-3%15.16ms9.47ms
Unary1,0246,683,1227,030,197-5%33.50ms32.57ms
Unary TLS256753,7726,962,147-89%18.02ms20.73ms
Unary TLS1,0243,6696,781,146-100%48.49ms98.54ms

Common comparisons

swerver vs zix · swerver vs libxev · swerver vs zeemo · zix vs libxev · zix vs zeemo · libxev vs zeemo

Questions

Is swerver faster than zix?

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

Is swerver faster than libxev?

libxev is quicker than swerver on 3 of the 4 profiles they both run. On the HTTP/1.1 composite they score 6825 and 3920. Both run on the same machine, in the same round, against the same profiles.

Is swerver faster than zeemo?

zeemo is quicker than swerver on 3 of the 5 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 6825 and 3773. Both run on the same machine, in the same round, against the same profiles.

Is zix faster than libxev?

zix is quicker than libxev on 2 of the 4 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 4839 and 3920. 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 6825. 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