HTTP requests per second

123,225
httpz
v0.0.0
118,040
zap
v0.10.6
34,892
zinc
v0.2.0-alpha.4
32,312
std
v0.15.1

🚀Frameworks

📋Prerequisites

  • Docker (for Docker mode)
  • oha - HTTP load testing tool
  • Zig compiler (for local mode)

⚙️Running the Benchmarks

Option 1: Local Mode

Build the binaries:

zig build -Doptimize=ReleaseFast -Dcpu=baseline

Run benchmarks:

./scripts/bench.sh

Option 2: Docker Mode

Build Docker images:

./scripts/build.sh

Run benchmarks:

MODE=docker ./scripts/bench.sh

* Results based on: Apple M1 Pro (10 cores), 16GB RAM, Darwin arm64, Mode: local