diff options
author | Craig Tiller <ctiller@google.com> | 2017-03-27 21:26:11 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-03-27 21:26:11 -0700 |
commit | 00003feddaf531d0a23f230172e74935bcd4f052 (patch) | |
tree | 976f055c99ba337ea1a4cbd40afe3fd7f8167c87 | |
parent | d23826e8b9173ab0ac2fc534c96e475c4a6bcb44 (diff) |
Bugfix1
-rwxr-xr-x | tools/profiling/microbenchmarks/bm_diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/profiling/microbenchmarks/bm_diff.py b/tools/profiling/microbenchmarks/bm_diff.py index ffe6f0e3a9..687a04ba7c 100755 --- a/tools/profiling/microbenchmarks/bm_diff.py +++ b/tools/profiling/microbenchmarks/bm_diff.py @@ -70,9 +70,9 @@ _AVAILABLE_BENCHMARK_TESTS = ['bm_fullstack_unary_ping_pong', argp = argparse.ArgumentParser(description='Perform diff on microbenchmarks') argp.add_argument('-t', '--track', - choices=sorted(_INTERESTING.keys()), + choices=sorted(_INTERESTING), nargs='+', - default=sorted(_INTERESTING.keys()), + default=sorted(_INTERESTING), help='Which metrics to track') argp.add_argument('-b', '--benchmarks', nargs='+', choices=_AVAILABLE_BENCHMARK_TESTS, default=['bm_error']) argp.add_argument('-d', '--diff_base', type=str) |