summaryrefslogtreecommitdiff
path: root/bench/run_benches.sh
blob: 02106228d7472cdc9b7bf34161b886e5e35375c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

zig build -Doptimize=ReleaseSafe
cd zig-out/bin/

echo "\nBinary sizes ======="
ls -lh | awk '{ print $5, $9 }'

echo "\nBenchmarks ==========\n"
for bin in *; do ./$bin ../../data/lang_mix.txt; done

cd - > /dev/null