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

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

Issue 2237573002: test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
7
6 """Chromium auto-bisect tool 8 """Chromium auto-bisect tool
7 9
8 This script bisects a range of commits using binary search. It starts by getting 10 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 11 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 12 in between, it will get builds, run tests and classify intermediate revisions as
11 "good" or "bad" until an adjacent "good" and "bad" revision is found; this is 13 "good" or "bad" until an adjacent "good" and "bad" revision is found; this is
12 the culprit. 14 the culprit.
13 15
14 If the culprit is a roll of a depedency repository (e.g. v8), it will then 16 If the culprit is a roll of a depedency repository (e.g. v8), it will then
15 expand the revision range and continue the bisect until a culprit revision in 17 expand the revision range and continue the bisect until a culprit revision in
(...skipping 2878 matching lines...) Expand 10 before | Expand all | Expand 10 after
2894 # bugs. If you change this, please update the perf dashboard as well. 2896 # bugs. If you change this, please update the perf dashboard as well.
2895 bisect_utils.OutputAnnotationStepStart('Results') 2897 bisect_utils.OutputAnnotationStepStart('Results')
2896 print 'Runtime Error: %s' % e 2898 print 'Runtime Error: %s' % e
2897 if opts.output_buildbot_annotations: 2899 if opts.output_buildbot_annotations:
2898 bisect_utils.OutputAnnotationStepClosed() 2900 bisect_utils.OutputAnnotationStepClosed()
2899 return 1 2901 return 1
2900 2902
2901 2903
2902 if __name__ == '__main__': 2904 if __name__ == '__main__':
2903 sys.exit(main()) 2905 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