aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-27 22:11:57 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-27 22:11:57 -0700
commitf0e7739accd8b24ac6d4fe1ddcd6492db5d26015 (patch)
tree94034d8e5afaba8ed00e35309209c1479ba832f6
parentb9d71a2a0eb14c7b40e4e378e1869cf86351be3e (diff)
Bugfix10
-rwxr-xr-xtools/profiling/microbenchmarks/bm_diff.py2
-rw-r--r--tools/profiling/microbenchmarks/bm_json.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/profiling/microbenchmarks/bm_diff.py b/tools/profiling/microbenchmarks/bm_diff.py
index bc0e8d69fe..c725d96626 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 4695f829f4..78d1016ac0 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] != '#']