From f0e7739accd8b24ac6d4fe1ddcd6492db5d26015 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 27 Mar 2017 22:11:57 -0700 Subject: [PATCH] Bugfix10 --- tools/profiling/microbenchmarks/bm_diff.py | 2 +- tools/profiling/microbenchmarks/bm_json.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/profiling/microbenchmarks/bm_diff.py b/tools/profiling/microbenchmarks/bm_diff.py index bc0e8d69fef..c725d96626b 100755 --- a/tools/profiling/microbenchmarks/bm_diff.py +++ b/tools/profiling/microbenchmarks/bm_diff.py @@ -168,7 +168,7 @@ for bm in comparables: benchmarks[name].add_sample(row, False) really_interesting = set() -for bm in benchmarks: +for bm in benchmarks.values(): really_interesting.update(bm.process()) fields = [f for f in _INTERESTING if f in really_interesting] diff --git a/tools/profiling/microbenchmarks/bm_json.py b/tools/profiling/microbenchmarks/bm_json.py index 4695f829f41..78d1016ac01 100644 --- a/tools/profiling/microbenchmarks/bm_json.py +++ b/tools/profiling/microbenchmarks/bm_json.py @@ -159,6 +159,7 @@ def parse_name(name): def expand_json(js, js2 = None): for bm in js['benchmarks']: + if bm['name'].endswith('_stddev') or bm['name'].endswith('mean'): continue context = js['context'] if 'label' in bm: labels_list = [s.split(':') for s in bm['label'].strip().split(' ') if len(s) and s[0] != '#']