feat: Add benchmark tool

This commit is contained in:
2026-09-30 10:24:20 +02:00
parent 0200401575
commit 766a88d5d7
4 changed files with 179 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ cargo test --test shader_valid # just the WGSL parse/validate tests (naga, no
cargo clippy
cargo fmt # rustfmt.toml just pins edition = "2024"
cargo build --release --no-default-features # headless-only binary: no eframe/egui (the default `gui` feature)
tools/bench/bench.sh --rev HEAD # perf of uncommitted edits vs HEAD (hyperfine; see tools/bench/README.md)
```
Web build (WebGPU):