1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 22:37:11 +02:00
wernermisc/m1/perf/all-runs

27 lines
490 B
Plaintext
Raw Normal View History

#!/bin/sh -ex
rm -rf data
mkdir data
for n in ref new opt; do
case $n in
ref) flags=;;
new) flags=-n;;
opt) flags="-n -o";;
esac
mkdir data/$n
for m in out expr prof; do
case $m in
out) more=-s;;
expr) more=-e;;
prof) more=-p;;
esac
mkdir data/$n/$m
./runs $flags $more data/$n/$m || exit
done
done