Allow interval at which benchmark results are printed to be controlled.
[bluesky.git] / microbench / setup / run-benchmark
index bf0bc9e..2942f48 100755 (executable)
@@ -13,6 +13,7 @@ BENCH_WRITERATIO=1.0
 BENCH_THREADS=8
 BENCH_DURATION=120
 BENCH_OPS=100
+BENCH_INTERVALS=4
 
 # Export any environment variables specified on the command line
 for e in "$@"; do
@@ -41,7 +42,8 @@ done
     $BENCH_WRITERATIO \
     $BENCH_THREADS \
     $BENCH_DURATION \
-    $BENCH_OPS
+    $BENCH_OPS \
+    $BENCH_INTERVALS
 
 popd >/dev/null