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:
26
m1/perf/all-runs
Executable file
26
m1/perf/all-runs
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user