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

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

Issue 873313010: Fixing typo in the docstring for bisect_perf_regression.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
11 "good" or "bad" until an adjacent "good" and "bad" revision is found; this is 11 "good" or "bad" until an adjacent "good" and "bad" revision is found; this is
12 the culprit. 12 the culprit.
13 13
14 If the culprit is a roll if a depedency repository (e.g. v8), it will then 14 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 15 expand the revision range and continue the bisect until a culprit revision in
16 the dependency repository is found. 16 the dependency repository is found.
17 17
18 Example usage using git commit hashes, bisecting a performance test based on 18 Example usage using git commit hashes, bisecting a performance test based on
19 the mean value of a particular metric: 19 the mean value of a particular metric:
20 20
21 ./tools/auto_bisect/bisect_perf_regression.py 21 ./tools/auto_bisect/bisect_perf_regression.py
22 --command "out/Release/performance_ui_tests \ 22 --command "out/Release/performance_ui_tests \
23 --gtest_filter=ShutdownTest.SimpleUserQuit"\ 23 --gtest_filter=ShutdownTest.SimpleUserQuit"\
24 --metric shutdown/simple-user-quit 24 --metric shutdown/simple-user-quit
(...skipping 2795 matching lines...) Expand 10 before | Expand all | Expand 10 after
2820 # bugs. If you change this, please update the perf dashboard as well. 2820 # bugs. If you change this, please update the perf dashboard as well.
2821 bisect_utils.OutputAnnotationStepStart('Results') 2821 bisect_utils.OutputAnnotationStepStart('Results')
2822 print 'Runtime Error: %s' % e 2822 print 'Runtime Error: %s' % e
2823 if opts.output_buildbot_annotations: 2823 if opts.output_buildbot_annotations:
2824 bisect_utils.OutputAnnotationStepClosed() 2824 bisect_utils.OutputAnnotationStepClosed()
2825 return 1 2825 return 1
2826 2826
2827 2827
2828 if __name__ == '__main__': 2828 if __name__ == '__main__':
2829 sys.exit(main()) 2829 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