| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Performance Test Bisect Tool | 6 """Performance Test Bisect Tool |
| 7 | 7 |
| 8 This script bisects a series of changelists using binary search. It starts at | 8 This script bisects a series of changelists using binary search. It starts at |
| 9 a bad revision where a performance metric has regressed, and asks for a last | 9 a bad revision where a performance metric has regressed, and asks for a last |
| 10 known-good revision. It will then binary search across this revision range by | 10 known-good revision. It will then binary search across this revision range by |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 REPRO_STEPS_TRYJOB_TELEMETRY = """ | 239 REPRO_STEPS_TRYJOB_TELEMETRY = """ |
| 240 To reproduce on a performance try bot: | 240 To reproduce on a performance try bot: |
| 241 %(command)s | 241 %(command)s |
| 242 (Where <bot-name> comes from tools/perf/run_benchmark --browser=list) | 242 (Where <bot-name> comes from tools/perf/run_benchmark --browser=list) |
| 243 | 243 |
| 244 For more details please visit | 244 For more details please visit |
| 245 https://sites.google.com/a/chromium.org/dev/developers/performance-try-bots | 245 https://sites.google.com/a/chromium.org/dev/developers/performance-try-bots |
| 246 """ | 246 """ |
| 247 | 247 |
| 248 RESULTS_THANKYOU = """ | 248 RESULTS_THANKYOU = """ |
| 249 O O | Visit http://www.chromium.org/developers/core-principles for Chrome's | 249 | O O | Visit http://www.chromium.org/developers/core-principles for Chrome's |
| 250 X | policy on perf regressions. Contact chrome-perf-dashboard-team with any | 250 | X | policy on perf regressions. Contact chrome-perf-dashboard-team with any |
| 251 / \ | questions or suggestions about bisecting. THANK YOU.""" | 251 | / \ | questions or suggestions about bisecting. THANK YOU.""" |
| 252 | 252 |
| 253 # Git branch name used to run bisect try jobs. | 253 # Git branch name used to run bisect try jobs. |
| 254 BISECT_TRYJOB_BRANCH = 'bisect-tryjob' | 254 BISECT_TRYJOB_BRANCH = 'bisect-tryjob' |
| 255 # Git master branch name. | 255 # Git master branch name. |
| 256 BISECT_MASTER_BRANCH = 'master' | 256 BISECT_MASTER_BRANCH = 'master' |
| 257 # File to store 'git diff' content. | 257 # File to store 'git diff' content. |
| 258 BISECT_PATCH_FILE = 'deps_patch.txt' | 258 BISECT_PATCH_FILE = 'deps_patch.txt' |
| 259 # SVN repo where the bisect try jobs are submitted. | 259 # SVN repo where the bisect try jobs are submitted. |
| 260 SVN_REPO_URL = 'svn://svn.chromium.org/chrome-try/try-perf' | 260 SVN_REPO_URL = 'svn://svn.chromium.org/chrome-try/try-perf' |
| 261 | 261 |
| (...skipping 3000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3262 # bugs. If you change this, please update the perf dashboard as well. | 3262 # bugs. If you change this, please update the perf dashboard as well. |
| 3263 bisect_utils.OutputAnnotationStepStart('Results') | 3263 bisect_utils.OutputAnnotationStepStart('Results') |
| 3264 print 'Error: %s' % e.message | 3264 print 'Error: %s' % e.message |
| 3265 if opts.output_buildbot_annotations: | 3265 if opts.output_buildbot_annotations: |
| 3266 bisect_utils.OutputAnnotationStepClosed() | 3266 bisect_utils.OutputAnnotationStepClosed() |
| 3267 return 1 | 3267 return 1 |
| 3268 | 3268 |
| 3269 | 3269 |
| 3270 if __name__ == '__main__': | 3270 if __name__ == '__main__': |
| 3271 sys.exit(main()) | 3271 sys.exit(main()) |
| OLD | NEW |