Axiom.jl provides comprehensive benchmarking infrastructure to track performance across Julia and Zig backends (plus optional GPU accelerator paths where available).
cd Axiom.jl
julia --project=benchmark benchmark/benchmarks.jlResults are saved to benchmark/results_TIMESTAMP.json.
cd zig
zig build test -Doptimize=ReleaseFastThe Zig backend (.so artifact) is benchmarked via Julia FFI using benchmark/benchmarks.jl with AXIOM_ZIG_LIB set.
Benchmarks run automatically in CI. The workflow:
- Runs Julia benchmarks (and Zig FFI benchmarks if .so is built)
- Compares against baseline
- Fails if >10% regression detected
- Updates baseline on main branch