diff options
| author | 2025-05-16 16:58:40 +0000 | |
|---|---|---|
| committer | 2025-05-16 16:58:40 +0000 | |
| commit | 0b05141b033043c5f7bcd72048a48eef6531ea6c (patch) | |
| tree | af6336ad8f5f7000cbaf92180469b65a2e940e32 /bench/run_benches.sh | |
| parent | Update README.md (diff) | |
| parent | Fix benchmarks (diff) | |
| download | zg-v0.14-beta.tar.gz zg-v0.14-beta.tar.xz zg-v0.14-beta.zip | |
Merge pull request 'Fix benchmarks' (#56) from jacobsandlund/zg:benchmarks into v0.14-betav0.14v0.14-beta
Reviewed-on: https://codeberg.org/atman/zg/pulls/56
Reviewed-by: atman <atman@noreply.codeberg.org>
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 =======" |