aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-19 16:20:17 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-19 16:20:17 +0200
commit3f63c434b41b261effda4ff6c0e9c95fc5eb06b9 (patch)
treed4f47c43585d469fd16e9e5acce2420eaf80b03c
parentc61b23d869e15631a57704c28c7336df54c15f32 (diff)
downloadallocbench-3f63c434b41b261effda4ff6c0e9c95fc5eb06b9.tar.gz
allocbench-3f63c434b41b261effda4ff6c0e9c95fc5eb06b9.zip
[summarize] only summarize benchmarks with a summary method
-rwxr-xr-xsummarize.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/summarize.py b/summarize.py
index 9bf0bf5..fe60397 100755
--- a/summarize.py
+++ b/summarize.py
@@ -138,6 +138,9 @@ def summarize(benchmarks=None,
except FileNotFoundError:
continue
+ if not hasattr(bench, "summary"):
+ continue
+
print_status(f"Summarizing {bench.name} ...")
try:
bench_sum(bench, exclude_allocators=exclude_allocators, sets=sets)