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

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

Issue 764733005: Lower "confidence score" required in order to not abort, and refactor test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | tools/auto_bisect/bisect_perf_regression_test.py » ('j') | 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 (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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 # Maximum time in seconds to wait after posting build request to the try server. 70 # Maximum time in seconds to wait after posting build request to the try server.
71 # TODO: Change these values based on the actual time taken by buildbots on 71 # TODO: Change these values based on the actual time taken by buildbots on
72 # the try server. 72 # the try server.
73 MAX_MAC_BUILD_TIME = 14400 73 MAX_MAC_BUILD_TIME = 14400
74 MAX_WIN_BUILD_TIME = 14400 74 MAX_WIN_BUILD_TIME = 14400
75 MAX_LINUX_BUILD_TIME = 14400 75 MAX_LINUX_BUILD_TIME = 14400
76 76
77 # The confidence percentage we require to consider the initial range a 77 # The confidence percentage we require to consider the initial range a
78 # regression based on the test results of the inital good and bad revisions. 78 # regression based on the test results of the inital good and bad revisions.
79 REGRESSION_CONFIDENCE = 95 79 REGRESSION_CONFIDENCE = 80
80 80
81 # Patch template to add a new file, DEPS.sha under src folder. 81 # Patch template to add a new file, DEPS.sha under src folder.
82 # This file contains SHA1 value of the DEPS changes made while bisecting 82 # This file contains SHA1 value of the DEPS changes made while bisecting
83 # dependency repositories. This patch send along with DEPS patch to try server. 83 # dependency repositories. This patch send along with DEPS patch to try server.
84 # When a build requested is posted with a patch, bisect builders on try server, 84 # When a build requested is posted with a patch, bisect builders on try server,
85 # once build is produced, it reads SHA value from this file and appends it 85 # once build is produced, it reads SHA value from this file and appends it
86 # to build archive filename. 86 # to build archive filename.
87 DEPS_SHA_PATCH = """diff --git DEPS.sha DEPS.sha 87 DEPS_SHA_PATCH = """diff --git DEPS.sha DEPS.sha
88 new file mode 100644 88 new file mode 100644
89 --- /dev/null 89 --- /dev/null
(...skipping 2502 matching lines...) Expand 10 before | Expand all | Expand 10 after
2592 # bugs. If you change this, please update the perf dashboard as well. 2592 # bugs. If you change this, please update the perf dashboard as well.
2593 bisect_utils.OutputAnnotationStepStart('Results') 2593 bisect_utils.OutputAnnotationStepStart('Results')
2594 print 'Runtime Error: %s' % e 2594 print 'Runtime Error: %s' % e
2595 if opts.output_buildbot_annotations: 2595 if opts.output_buildbot_annotations:
2596 bisect_utils.OutputAnnotationStepClosed() 2596 bisect_utils.OutputAnnotationStepClosed()
2597 return 1 2597 return 1
2598 2598
2599 2599
2600 if __name__ == '__main__': 2600 if __name__ == '__main__':
2601 sys.exit(main()) 2601 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tools/auto_bisect/bisect_perf_regression_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698