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 f2ea779 commit c25de2eCopy full SHA for c25de2e
graalpython/com.oracle.graal.python.benchmarks/python/harness.py
@@ -429,8 +429,10 @@ def run_benchmark(args):
429
bench_args.append(arg)
430
i += 1
431
432
- if startup and iterations < max(startup):
433
- print("### WARNING: you've specified less iterations than required to measure the startup")
+ min_required_iterations = max(startup)
+ if startup and iterations < min_required_iterations:
434
+ print("### WARNING: you've specified less iterations than required to measure the startup. Overriding iterations with %d" % min_required_iterations)
435
+ iterations = min_required_iterations
436
437
# set the paths if specified
438
print(_HRULE)
0 commit comments