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

Side by Side Diff: tools/auto_bisect/bisect_perf_regression.py

Issue 973653002: Add android-chrome-perf as builder_type choice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 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 """Chromium auto-bisect tool 6 """Chromium auto-bisect tool
7 7
8 This script bisects a range of commits using binary search. It starts by getting 8 This script bisects a range of commits using binary search. It starts by getting
9 reference values for the specified "good" and "bad" commits. Then, for revisions 9 reference values for the specified "good" and "bad" commits. Then, for revisions
10 in between, it will get builds, run tests and classify intermediate revisions as 10 in between, it will get builds, run tests and classify intermediate revisions as
(...skipping 2627 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 group.add_argument('--target_arch', default='ia32', 2638 group.add_argument('--target_arch', default='ia32',
2639 dest='target_arch', choices=['ia32', 'x64', 'arm'], 2639 dest='target_arch', choices=['ia32', 'x64', 'arm'],
2640 help='The target build architecture. Choices are "ia32" ' 2640 help='The target build architecture. Choices are "ia32" '
2641 '(default), "x64" or "arm".') 2641 '(default), "x64" or "arm".')
2642 group.add_argument('--target_build_type', default='Release', 2642 group.add_argument('--target_build_type', default='Release',
2643 choices=['Release', 'Debug', 'Release_x64'], 2643 choices=['Release', 'Debug', 'Release_x64'],
2644 help='The target build type. Choices are "Release" ' 2644 help='The target build type. Choices are "Release" '
2645 '(default), Release_x64 or "Debug".') 2645 '(default), Release_x64 or "Debug".')
2646 group.add_argument('--builder_type', default=fetch_build.PERF_BUILDER, 2646 group.add_argument('--builder_type', default=fetch_build.PERF_BUILDER,
2647 choices=[fetch_build.PERF_BUILDER, 2647 choices=[fetch_build.PERF_BUILDER,
2648 fetch_build.FULL_BUILDER, ''], 2648 fetch_build.FULL_BUILDER,
2649 fetch_build.ANDROID_CHROME_PERF_BUILDER, ''],
2649 help='Type of builder to get build from. This ' 2650 help='Type of builder to get build from. This '
2650 'determines both the bot that builds and the ' 2651 'determines both the bot that builds and the '
2651 'place where archived builds are downloaded from. ' 2652 'place where archived builds are downloaded from. '
2652 'For local builds, an empty string can be passed.') 2653 'For local builds, an empty string can be passed.')
2653 2654
2654 @staticmethod 2655 @staticmethod
2655 def _AddDebugOptionsGroup(parser): 2656 def _AddDebugOptionsGroup(parser):
2656 group = parser.add_argument_group('Debug options') 2657 group = parser.add_argument_group('Debug options')
2657 group.add_argument('--debug_ignore_build', action='store_true', 2658 group.add_argument('--debug_ignore_build', action='store_true',
2658 help='DEBUG: Don\'t perform builds.') 2659 help='DEBUG: Don\'t perform builds.')
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
2823 # bugs. If you change this, please update the perf dashboard as well. 2824 # bugs. If you change this, please update the perf dashboard as well.
2824 bisect_utils.OutputAnnotationStepStart('Results') 2825 bisect_utils.OutputAnnotationStepStart('Results')
2825 print 'Runtime Error: %s' % e 2826 print 'Runtime Error: %s' % e
2826 if opts.output_buildbot_annotations: 2827 if opts.output_buildbot_annotations:
2827 bisect_utils.OutputAnnotationStepClosed() 2828 bisect_utils.OutputAnnotationStepClosed()
2828 return 1 2829 return 1
2829 2830
2830 2831
2831 if __name__ == '__main__': 2832 if __name__ == '__main__':
2832 sys.exit(main()) 2833 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698