From 57afdea435e2fb22306d038f52f39852a74c7bdd Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 22 Aug 2019 19:34:03 +0200 Subject: remove duplicate check if we really should run the benchmark --- src/benchmark.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/benchmark.py b/src/benchmark.py index 890d414..3174416 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -258,10 +258,7 @@ class Benchmark (object): for server in self.servers: Benchmark.terminate_subprocess(server) - def run(self, runs=5): - if runs < 1: - return - + def run(self, runs=3): # check if perf is allowed on this system if self.measure_cmd == self.defaults["measure_cmd"]: if Benchmark.perf_allowed is None: -- cgit v1.2.3