ziex/bench
2026-07-15 00:29:24 +06:00
..
dioxus ci(bench): leptos build err 2026-06-12 19:12:49 +06:00
jetzig refactor: simplify dockerfiles 2026-06-19 19:12:12 +06:00
leptos refactor: simplify dockerfiles 2026-06-19 19:12:12 +06:00
nextjs refactor: remove legacy pub fields 2026-06-10 21:14:00 +06:00
solidjs bench: include cpu usage, cold-start, image size 2026-03-01 05:26:08 +06:00
ziex refactor: upgrade to latest zig 2026-07-15 00:29:24 +06:00
.dockerignore bench: add dockerized benchmark 2026-02-13 01:41:13 +06:00
compose.yml refactor: simplify dockerfiles 2026-06-19 19:12:12 +06:00
Dockerfile.bench chore(bench): use config from benchfig.zon 2026-06-13 02:15:33 +06:00
oha.sh chore(bench): use config from benchfig.zon 2026-06-13 02:15:33 +06:00
README.md bench: fix container assets 2026-02-13 05:05:01 +06:00
realtime.mjs refactor: renamed benches -> bench 2026-01-23 11:42:46 +06:00
run.sh chore(bench): use config from benchfig.zon 2026-06-13 02:15:33 +06:00

Benchmark

Compares SSR performance of Ziex, Leptos, SolidStart, and Next.js in Docker containers limited to 2 CPUs and 2 GB RAM.

Prerequisites

  • Docker

Usage

Clone the repository and run the benchmark script:

cd bench

# all frameworks
bash run.sh

# specific framework (e.g., Ziex)
bash run.sh ziex

Results are written to result.csv and ../site/pages/bench.zon (used to generate the benchmark chart on ziex.dev).

Measures:

  • Requests per second (req/s)
  • p50 latency
  • p99 latency
  • Idle memory (MB)
  • Peak memory (MB)

Frameworks

Framework Port Stack
Ziex 3003 Zig, native binary
Leptos 3002 Rust, Actix-web
SolidStart 3001 Bun, Vinxi
Next.js 3000 Bun, React 19