diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-02-15 15:25:13 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-02-15 15:25:13 +0100 |
| commit | dc46bf344944d7bc0109ffe953ca3e30561a2821 (patch) | |
| tree | c2526c116aea2c03ac8a91dea703825a08383320 /src/benchmark.py | |
| parent | 59328f906cc03dad8c8324028b0ce1366cdc2565 (diff) | |
| download | allocbench-dc46bf344944d7bc0109ffe953ca3e30561a2821.tar.gz allocbench-dc46bf344944d7bc0109ffe953ca3e30561a2821.zip | |
change kwargs order to match order of call in bench.py
Diffstat (limited to 'src/benchmark.py')
| -rw-r--r-- | src/benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py index 7bf709e..87ec8c2 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -127,7 +127,7 @@ class Benchmark (object): if is_fixed: yield p - def run(self, verbose=False, runs=5): + def run(self, runs=5, verbose=False): if runs > 0: print("Running", self.name, "...") n = len(list(self.iterate_args())) * len(self.allocators) |
