diff options
author | Craig Tiller <ctiller@google.com> | 2017-04-12 10:43:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-12 10:43:34 -0700 |
commit | 5a0cf3251580bd3ac57c5638be73edd4244a1210 (patch) | |
tree | a18dc07c6bbe4d58c4e43330c4c064be974752cd | |
parent | f200f25d4dad5b74e7216a2b17fa2c2783ceb40e (diff) | |
parent | d835aa39d3f5a9ad247ea4dafa28da493f8352be (diff) |
Merge pull request #10604 from ctiller/bmdifffix
Fixes for bm_diff
-rwxr-xr-x | tools/profiling/microbenchmarks/bm_diff.py | 2 | ||||
-rw-r--r-- | tools/profiling/microbenchmarks/bm_json.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/profiling/microbenchmarks/bm_diff.py b/tools/profiling/microbenchmarks/bm_diff.py index 2337f2b282..35a79593b4 100755 --- a/tools/profiling/microbenchmarks/bm_diff.py +++ b/tools/profiling/microbenchmarks/bm_diff.py @@ -226,7 +226,7 @@ really_interesting = set() for name, bm in benchmarks.items(): print name really_interesting.update(bm.process()) -fields = [f for f in args.track if f in args.track] +fields = [f for f in args.track if f in really_interesting] headers = ['Benchmark'] + fields rows = [] diff --git a/tools/profiling/microbenchmarks/bm_json.py b/tools/profiling/microbenchmarks/bm_json.py index e885444f41..917269823d 100644 --- a/tools/profiling/microbenchmarks/bm_json.py +++ b/tools/profiling/microbenchmarks/bm_json.py @@ -203,4 +203,5 @@ def expand_json(js, js2 = None): row['real_time'] = bm2['real_time'] row['iterations'] = bm2['iterations'] bm2['already_used'] = True + break yield row |