aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/profiling/microbenchmarks/bm_diff.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-27 21:37:19 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-27 21:37:19 -0700
commitc523f5df3eb9738db48d766f828e87bee5bb03c4 (patch)
tree6e3c8ff31f42452db2642a8c47e34374b99aba61 /tools/profiling/microbenchmarks/bm_diff.py
parent6e40ea0b652ad76d13f7ac65837ab6612d090af1 (diff)
Bugfix6
Diffstat (limited to 'tools/profiling/microbenchmarks/bm_diff.py')
-rwxr-xr-xtools/profiling/microbenchmarks/bm_diff.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/profiling/microbenchmarks/bm_diff.py b/tools/profiling/microbenchmarks/bm_diff.py
index a20b46342d..b018543960 100755
--- a/tools/profiling/microbenchmarks/bm_diff.py
+++ b/tools/profiling/microbenchmarks/bm_diff.py
@@ -76,7 +76,7 @@ argp.add_argument('-t', '--track',
nargs='+',
default=sorted(_INTERESTING),
help='Which metrics to track')
-argp.add_argument('-b', '--benchmarks', nargs='+', choices=_AVAILABLE_BENCHMARK_TESTS, default=['bm_error'])
+argp.add_argument('-b', '--benchmarks', nargs='+', choices=_AVAILABLE_BENCHMARK_TESTS, default=['bm_cq'])
argp.add_argument('-d', '--diff_base', type=str)
argp.add_argument('-r', '--repetitions', type=int, default=5)
argp.add_argument('-p', '--p_threshold', type=float, default=0.05)
@@ -101,8 +101,6 @@ for bm in args.benchmarks:
collect1(bm, 'opt', 'new')
collect1(bm, 'counters', 'new')
-git_comment = 'Performance differences between this PR and %s\\n' % args.diff_perf
-
where_am_i = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']).strip()
subprocess.check_call(['git', 'checkout', args.diff_base])