Performance Benchmarking of Zig Web Server Libraries https://bench.zig.bd
  • Zig 75.3%
  • CSS 13%
  • JavaScript 5.1%
  • Shell 4.3%
  • Dockerfile 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-21 12:01:15 +06:00
.github/workflows ci: new docker arg sign 2026-09-21 10:59:12 +06:00
app refactor: rm unused files 2026-09-21 12:01:15 +06:00
bench fix: increase the rate to max possible 2026-09-21 11:26:12 +06:00
frameworks refactor: rm unused files 2026-09-21 12:01:15 +06:00
.dockerignore refactor: migrate scripts to zig and site to ziex 2026-09-21 01:20:02 +06:00
.gitattributes chore: cleanup legacy unused files 2026-09-21 01:52:02 +06:00
.gitignore refactor: bash and docker only method 2026-09-21 10:55:15 +06:00
build.zig refactor: bash and docker only method 2026-09-21 10:55:15 +06:00
build.zig.zon refactor: migrate scripts to zig and site to ziex 2026-09-21 01:20:02 +06:00
README.md refactor: bash and docker only method 2026-09-21 10:55:15 +06:00

Zig Web Server Libraries Benchmark

Benchmarks Zig web server libraries for performance.

Run

bash bench/run.sh              # all frameworks
bash bench/run.sh httpz zap    # specific frameworks

Results will be written to app/results.zon.

Adding new benchmarks

  1. Create frameworks/<name>/ that has endpoints similar to an existing one like.
  2. Put catalog metadata in build.zig.zon under .meta following existing examples.
  3. Add <name> to .frameworks in bench/runner/src/benchfig.zon.
  4. Regenerate compose and commit it: bash bench/run.sh --write-compose
  5. Smoke-test: bash bench/run.sh <name>