Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1198)

Unified Diff: build/android/buildbot/bb_host_steps.py

Issue 16391007: Add an Android perf bisect bot and its host steps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/buildbot/bb_run_bot.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_host_steps.py
diff --git a/build/android/buildbot/bb_host_steps.py b/build/android/buildbot/bb_host_steps.py
index 7539c4290b60a6062dc1564db0d7a17a40ec981b..58d2e0e5b43f500b3cbf2a7d01a7e5cb875f9ad2 100755
--- a/build/android/buildbot/bb_host_steps.py
+++ b/build/android/buildbot/bb_host_steps.py
@@ -92,6 +92,15 @@ def FindBugs(is_release):
'run_findbugs_plugin_tests.py')] + build_type)
+def BisectPerfRegression():
+ buildbot_report.PrintNamedStep('Bisect Perf Regression')
+ RunCmd([SrcPath('tools', 'prepare-bisect-perf-regression.py'),
+ '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)])
+ RunCmd([SrcPath('tools', 'run-bisect-perf-regression.py'),
+ '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir),
+ '-p', bb_utils.GOMA_DIR])
+
+
def main(argv):
parser = bb_utils.GetParser()
parser.add_option('--host-tests', help='Comma separated list of host tests.')
@@ -105,6 +114,8 @@ def main(argv):
help='Indicate whether the build should be zipped.')
parser.add_option('--extract-build', action='store_true',
help='Indicate whether a build should be downloaded.')
+ parser.add_option('--bisect-perf-regression', action='store_true',
+ help='Bisect a perf regression.')
options, args = parser.parse_args(argv[1:])
if args:
@@ -119,6 +130,8 @@ def main(argv):
build_type = options.factory_properties.get('target', 'Debug')
+ if options.bisect_perf_regression:
+ BisectPerfRegression()
if options.compile:
if 'check_webview_licenses' in host_tests:
CheckWebViewLicenses()
« no previous file with comments | « no previous file | build/android/buildbot/bb_run_bot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698