Performance Benchmarking of Zig Web Server Libraries https://bench.zig.bd
  • Zig 76.8%
  • CSS 12.6%
  • JavaScript 4.9%
  • Shell 4.2%
  • Dockerfile 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-17 18:59:01 +06:00
.github/workflows refactor: stop commiting local bench results 2026-11-17 11:46:34 +06:00
app feat: add form/file-upload benching 2026-11-17 18:59:01 +06:00
bench feat: add form/file-upload benching 2026-11-17 18:59:01 +06:00
frameworks feat: add form/file-upload benching 2026-11-17 18:59:01 +06:00
.dockerignore feat: add form/file-upload benching 2026-11-17 18:59:01 +06:00
.gitattributes chore: cleanup legacy unused files 2026-09-21 01:52:02 +06:00
.gitignore refactor: stop commiting local bench results 2026-11-17 11:46:34 +06:00
build.zig ci: fix website build 2026-11-17 09:56:31 +06:00
build.zig.zon chore: upgrade bencher to Zig 0.17.1 with zrk/zio latest 2026-11-17 09:02:42 +06:00
README.md refactor: rm zap 2026-11-17 09:45:00 +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 zzz    # 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>