We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97db5db commit 522c112Copy full SHA for 522c112
vb_suite/test_perf.py
@@ -80,6 +80,12 @@
80
default=1234,
81
type=int,
82
help='integer value to seed PRNG with')
83
+parser.add_argument('-n', '--repeats',
84
+ metavar="N",
85
+ dest='repeats',
86
+ default=3,
87
+ type=int,
88
+ help='number of times to run each vbench, result value is the average')
89
90
91
def get_results_df(db, rev):
@@ -255,6 +261,9 @@ def main():
255
261
256
262
benchmarks = [x for x in benchmarks if re.search(args.regex,x.name)]
257
263
264
+ for b in benchmarks:
265
+ b.repeat = args.repeats
266
+
258
267
if args.head:
259
268
profile_head(benchmarks)
260
269
else:
0 commit comments