diff options
| author | 2025-05-16 09:39:08 -0400 | |
|---|---|---|
| committer | 2025-05-16 09:41:07 -0400 | |
| commit | 7d73771c84dcb001d6a47e266dbeab141dbbdce1 (patch) | |
| tree | af6336ad8f5f7000cbaf92180469b65a2e940e32 /bench/run_benches.sh | |
| parent | Update README.md (diff) | |
| download | zg-7d73771c84dcb001d6a47e266dbeab141dbbdce1.tar.gz zg-7d73771c84dcb001d6a47e266dbeab141dbbdce1.tar.xz zg-7d73771c84dcb001d6a47e266dbeab141dbbdce1.zip | |
Fix benchmarks
Diffstat (limited to 'bench/run_benches.sh')
| -rwxr-xr-x | bench/run_benches.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bench/run_benches.sh b/bench/run_benches.sh index 0210622..e2a26a8 100755 --- a/bench/run_benches.sh +++ b/bench/run_benches.sh | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | zig build -Doptimize=ReleaseSafe | 3 | if ! zig build -Doptimize=ReleaseSafe; then |
| 4 | exit 1 | ||
| 5 | fi | ||
| 6 | |||
| 4 | cd zig-out/bin/ | 7 | cd zig-out/bin/ |
| 5 | 8 | ||
| 6 | echo "\nBinary sizes =======" | 9 | echo "\nBinary sizes =======" |