Add proper per-file copyright notices/licenses and top-level license.
[bluesky.git] / microbench / run2.sh
index cd17e67..75b61de 100755 (executable)
@@ -11,6 +11,7 @@ ops_list="1000 500 200 100 50 20 10"
 run_one() {
     PREFIX=$1
 
+    BLUESKY_RUN_NAME=$PREFIX
     $HOME/bin/s3-cleanup.py mvrable-bluesky
     $HOME/bin/s3-cleanup.py mvrable-bluesky-west
     run_cmd $PROXY cleanup-proxy
@@ -21,9 +22,10 @@ run_one() {
 
     for BENCH_OPS in $ops_list; do
         sleep 10
+        BLUESKY_RUN_NAME=$PREFIX-$BENCH_OPS
         echo "SETTINGS:" $(get_params)
-        get_params >$PREFIX-$BENCH_OPS.settings
-        (date; run_cmd $BENCHER run-benchmark) | tee $PREFIX-$BENCH_OPS.results
+        get_params >$BLUESKY_RUN_NAME.settings
+        (date; run_cmd $BENCHER run-benchmark) | tee $BLUESKY_RUN_NAME.results
     done
 
     run_cmd $PROXY stop-proxy