aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench.py b/bench.py
index 1ecec73..c52c0c1 100755
--- a/bench.py
+++ b/bench.py
@@ -9,7 +9,7 @@ from bench_mysql import mysql
parser = argparse.ArgumentParser(description="benchmark memory allocators")
parser.add_argument("-s", "--save", help="save benchmark results to disk", action='store_true')
parser.add_argument("-l", "--load", help="load benchmark results from disk", action='store_true')
-parser.add_argument("-r", "--runs", help="how often the benchmarks run", default=3)
+parser.add_argument("-r", "--runs", help="how often the benchmarks run", default=3, type=int)
benchmarks = [loop, conprod, mysql]