summaryrefslogtreecommitdiffstats
path: root/tools/run-bisect-perf-regression.py
diff options
context:
space:
mode:
authorrobertocn <robertocn@chromium.org>2014-10-17 14:55:29 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-17 21:55:45 +0000
commitfdd5b1c0c6a4ec50137f7b5a2c6b7c02ae2149bc (patch)
treedb6933bb4ef86b6dfd982820708ae8f898c5847d /tools/run-bisect-perf-regression.py
parent3b432982d316ebdb553ff137a166521cbccc8b77 (diff)
downloadchromium_src-fdd5b1c0c6a4ec50137f7b5a2c6b7c02ae2149bc.zip
chromium_src-fdd5b1c0c6a4ec50137f7b5a2c6b7c02ae2149bc.tar.gz
chromium_src-fdd5b1c0c6a4ec50137f7b5a2c6b7c02ae2149bc.tar.bz2
Implementing direction_of_improvement
BUG=418690 Review URL: https://codereview.chromium.org/645263002 Cr-Commit-Position: refs/heads/master@{#300167}
Diffstat (limited to 'tools/run-bisect-perf-regression.py')
-rwxr-xr-xtools/run-bisect-perf-regression.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/run-bisect-perf-regression.py b/tools/run-bisect-perf-regression.py
index aa3251d..344e36b 100755
--- a/tools/run-bisect-perf-regression.py
+++ b/tools/run-bisect-perf-regression.py
@@ -207,6 +207,9 @@ def _CreateBisectOptionsFromConfig(config):
if config.has_key('goma_dir'):
opts_dict['goma_dir'] = config['goma_dir']
+ if config.has_key('improvement_direction'):
+ opts_dict['improvement_direction'] = int(config['improvement_direction'])
+
opts_dict['build_preference'] = 'ninja'
opts_dict['output_buildbot_annotations'] = True
@@ -403,6 +406,9 @@ def _RunBisectionScript(
if config.has_key('bisect_mode'):
cmd.extend(['--bisect_mode', config['bisect_mode']])
+ if config.has_key('improvement_direction'):
+ cmd.extend(['-d', config['improvement_direction']])
+
cmd.extend(['--build_preference', 'ninja'])
if '--browser=cros' in config['command']: