import repository from arizona
[raven.git] / publish / smbaker-release / build / storkbench / usr / local / bin / storkbench.sh
1 #!/bin/bash
2
3 if [ -f /var/run/storkbench ]; then
4     echo "benchmark is already running"
5     exit
6 fi
7
8 echo $$ > /var/run/storkbench
9
10 for (( i=0; i<=10; i++ )) do
11     echo "testing stork with tpcache disabled"
12     stork --disabletpcache --noinstall --statsprefix "bench_nocache_" --upgrade mew
13     echo "testing stork with tpcache enabled"
14     stork --noinstall --statsprefix "bench_cache_" --upgrade mew
15 done
16
17 rm -f /var/run/storkbench