1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-04-21 12:27:27 +03:00

m1/perf/: scripts for bulk test runs and tabulating the results

This commit is contained in:
Werner Almesberger
2011-09-18 11:06:35 -03:00
parent c02c02903d
commit 3727324a2c
3 changed files with 150 additions and 0 deletions

26
m1/perf/all-runs Executable file
View File

@@ -0,0 +1,26 @@
#!/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