aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-09-21 18:39:41 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-09-21 18:39:41 +0200
commitbc3cb06694b02e46a692d2f2759016a0f24b47a5 (patch)
treedfb42c5c7f54c92c989e5a51e417a622d76c4d48
parentc3dd673f237b182172e79cc7740554620e3bb604 (diff)
downloadallocbench-bc3cb06694b02e46a692d2f2759016a0f24b47a5.tar.gz
allocbench-bc3cb06694b02e46a692d2f2759016a0f24b47a5.zip
don't measure analyse runs
-rwxr-xr-xbench.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bench.py b/bench.py
index d2cf8e3..873e597 100755
--- a/bench.py
+++ b/bench.py
@@ -182,6 +182,8 @@ def main():
analyze_alloc = "chattymalloc"
old_allocs = bench.allocators
+ old_measure_cmd = bench.measure_cmd
+ bench.measure_cmd = ""
analyze_alloc_module = importlib.import_module(f"src.allocators.{analyze_alloc}")
bench.allocators = {analyze_alloc: getattr(analyze_alloc_module, analyze_alloc).build()}
@@ -191,6 +193,8 @@ def main():
print_error(traceback.format_exc())
print_error("Skipping analysis of", bench, "!")
+ bench.measure_cmd = old_measure_cmd
+
# Remove results for analyze_alloc
if analyze_alloc in bench.results:
del bench.results[analyze_alloc]