Commit 88bed261 authored by Florian Fischer's avatar Florian Fischer
Browse files

Don't print running if -r 0 is set

parent 9ebf8485
......@@ -141,7 +141,6 @@ def main():
print_error("Preparing", bench.name, "failed!")
continue
print_status("Running", bench.name, "...")
if not bench.run(runs=args.runs):
continue
......
......@@ -165,6 +165,11 @@ class Benchmark (object):
yield p
def run(self, runs=5):
if runs < 1:
return
print_status("Running", self.name, "...")
# check if perf is allowed on this system
if self.measure_cmd == self.defaults["measure_cmd"]:
if Benchmark.perf_allowed == None:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment