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

Side by Side Diff: tools/bisect-perf-regression.py

Issue 389453002: Fix import as bisect_builder for post_perf_builder_job. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« 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 (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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 import shutil 47 import shutil
48 import StringIO 48 import StringIO
49 import subprocess 49 import subprocess
50 import sys 50 import sys
51 import time 51 import time
52 import zipfile 52 import zipfile
53 53
54 sys.path.append(os.path.join(os.path.dirname(__file__), 'telemetry')) 54 sys.path.append(os.path.join(os.path.dirname(__file__), 'telemetry'))
55 55
56 from auto_bisect import bisect_utils 56 from auto_bisect import bisect_utils
57 from auto_bisect import post_perf_builder_job 57 from auto_bisect import post_perf_builder_job as bisect_builder
58 from telemetry.page import cloud_storage 58 from telemetry.page import cloud_storage
59 59
60 # The additional repositories that might need to be bisected. 60 # The additional repositories that might need to be bisected.
61 # If the repository has any dependant repositories (such as skia/src needs 61 # If the repository has any dependant repositories (such as skia/src needs
62 # skia/include and skia/gyp to be updated), specify them in the 'depends' 62 # skia/include and skia/gyp to be updated), specify them in the 'depends'
63 # so that they're synced appropriately. 63 # so that they're synced appropriately.
64 # Format is: 64 # Format is:
65 # src: path to the working directory. 65 # src: path to the working directory.
66 # recurse: True if this repositry will get bisected. 66 # recurse: True if this repositry will get bisected.
67 # depends: A list of other repositories that are actually part of the same 67 # depends: A list of other repositories that are actually part of the same
(...skipping 3968 matching lines...) Expand 10 before | Expand all | Expand 10 after
4036 # The perf dashboard scrapes the "results" step in order to comment on 4036 # The perf dashboard scrapes the "results" step in order to comment on
4037 # bugs. If you change this, please update the perf dashboard as well. 4037 # bugs. If you change this, please update the perf dashboard as well.
4038 bisect_utils.OutputAnnotationStepStart('Results') 4038 bisect_utils.OutputAnnotationStepStart('Results')
4039 print 'Error: %s' % e.message 4039 print 'Error: %s' % e.message
4040 if opts.output_buildbot_annotations: 4040 if opts.output_buildbot_annotations:
4041 bisect_utils.OutputAnnotationStepClosed() 4041 bisect_utils.OutputAnnotationStepClosed()
4042 return 1 4042 return 1
4043 4043
4044 if __name__ == '__main__': 4044 if __name__ == '__main__':
4045 sys.exit(main()) 4045 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