zig web framework benchmarks
Benchmark results for 2 zig web frameworks, measured with zrk at concurrency 64, 256, 512. Fastest at concurrency 64: httpz with 218 636 requests per second.
Compare throughput and latency together. These measurements describe a specific workload and test environment; performance in your application may differ.
Concurrency 64
| # | Framework | Requests / second | P50 latency | P99 latency | HTTP errors |
|---|---|---|---|---|---|
| 1 | httpz 52eb187cff75e168316b44480cd9f0fae26a1c5e | 218 636 | 0.29 ms | 0.68 ms | 0 |
| 2 | zzz 0.3.2 | 86 373 | 0.73 ms | 1.06 ms | 0 |
Concurrency 256
| # | Framework | Requests / second | P50 latency | P99 latency | HTTP errors |
|---|---|---|---|---|---|
| 1 | httpz 52eb187cff75e168316b44480cd9f0fae26a1c5e | 215 315 | 1.16 ms | 2.17 ms | 0 |
| 2 | zzz 0.3.2 | 77 054 | 3.28 ms | 4.36 ms | 0 |