aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-05-11 14:10:36 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-05-11 14:10:36 +0200
commit602b28096f98a0f0d085ffd67b77b168bd92f0ad (patch)
tree43d41a8cad5054765f3f76d8f28461481db5fd05
parent4923a96b603897009a21ad8b975d4a48765bb769 (diff)
downloadallocbench-602b28096f98a0f0d085ffd67b77b168bd92f0ad.tar.gz
allocbench-602b28096f98a0f0d085ffd67b77b168bd92f0ad.zip
only delete during analyse created stats if they exist
-rwxr-xr-xbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench.py b/bench.py
index 47511fc..1e8b8b1 100755
--- a/bench.py
+++ b/bench.py
@@ -177,7 +177,7 @@ def main():
if "malt" in bench.results:
del(bench.results["malt"])
- if "malt" in bench.results["stats"]:
+ if "stats" in bench.results and "malt" in bench.results["stats"]:
del(bench.results["stats"]["malt"])
# restore allocs
bench.allocators = old_allocs