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

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

Issue 1163323010: Add arm64 target type to bisect jobs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 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 2688 matching lines...) Expand 10 before | Expand all | Expand 10 after
2699 help='Add a bunch of extra threads for goma, and enable ' 2699 help='Add a bunch of extra threads for goma, and enable '
2700 'goma') 2700 'goma')
2701 group.add_argument('--goma_dir', 2701 group.add_argument('--goma_dir',
2702 help='Path to goma tools (or system default if not ' 2702 help='Path to goma tools (or system default if not '
2703 'specified).') 2703 'specified).')
2704 group.add_argument('--goma_threads', type=int, default='64', 2704 group.add_argument('--goma_threads', type=int, default='64',
2705 help='Number of threads for goma, only if using goma.') 2705 help='Number of threads for goma, only if using goma.')
2706 group.add_argument('--output_buildbot_annotations', action='store_true', 2706 group.add_argument('--output_buildbot_annotations', action='store_true',
2707 help='Add extra annotation output for buildbot.') 2707 help='Add extra annotation output for buildbot.')
2708 group.add_argument('--target_arch', default='ia32', 2708 group.add_argument('--target_arch', default='ia32',
2709 dest='target_arch', choices=['ia32', 'x64', 'arm'], 2709 dest='target_arch',
2710 choices=['ia32', 'x64', 'arm', 'arm64'],
2710 help='The target build architecture. Choices are "ia32" ' 2711 help='The target build architecture. Choices are "ia32" '
2711 '(default), "x64" or "arm".') 2712 '(default), "x64", "arm" or "arm64".')
2712 group.add_argument('--target_build_type', default='Release', 2713 group.add_argument('--target_build_type', default='Release',
2713 choices=['Release', 'Debug', 'Release_x64'], 2714 choices=['Release', 'Debug', 'Release_x64'],
2714 help='The target build type. Choices are "Release" ' 2715 help='The target build type. Choices are "Release" '
2715 '(default), Release_x64 or "Debug".') 2716 '(default), Release_x64 or "Debug".')
2716 group.add_argument('--builder_type', default=fetch_build.PERF_BUILDER, 2717 group.add_argument('--builder_type', default=fetch_build.PERF_BUILDER,
2717 choices=[fetch_build.PERF_BUILDER, 2718 choices=[fetch_build.PERF_BUILDER,
2718 fetch_build.FULL_BUILDER, 2719 fetch_build.FULL_BUILDER,
2719 fetch_build.ANDROID_CHROME_PERF_BUILDER, ''], 2720 fetch_build.ANDROID_CHROME_PERF_BUILDER, ''],
2720 help='Type of builder to get build from. This ' 2721 help='Type of builder to get build from. This '
2721 'determines both the bot that builds and the ' 2722 'determines both the bot that builds and the '
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
2893 # bugs. If you change this, please update the perf dashboard as well. 2894 # bugs. If you change this, please update the perf dashboard as well.
2894 bisect_utils.OutputAnnotationStepStart('Results') 2895 bisect_utils.OutputAnnotationStepStart('Results')
2895 print 'Runtime Error: %s' % e 2896 print 'Runtime Error: %s' % e
2896 if opts.output_buildbot_annotations: 2897 if opts.output_buildbot_annotations:
2897 bisect_utils.OutputAnnotationStepClosed() 2898 bisect_utils.OutputAnnotationStepClosed()
2898 return 1 2899 return 1
2899 2900
2900 2901
2901 if __name__ == '__main__': 2902 if __name__ == '__main__':
2902 sys.exit(main()) 2903 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