diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-19 16:20:17 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-19 16:20:17 +0200 |
| commit | 3f63c434b41b261effda4ff6c0e9c95fc5eb06b9 (patch) | |
| tree | d4f47c43585d469fd16e9e5acce2420eaf80b03c | |
| parent | c61b23d869e15631a57704c28c7336df54c15f32 (diff) | |
| download | allocbench-3f63c434b41b261effda4ff6c0e9c95fc5eb06b9.tar.gz allocbench-3f63c434b41b261effda4ff6c0e9c95fc5eb06b9.zip | |
[summarize] only summarize benchmarks with a summary method
| -rwxr-xr-x | summarize.py | 3 |
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) |
