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

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

Issue 12780015: Added call to stop goma in case it's still running from a build that timed out. Added --verbose par… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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 | tools/bisect_utils.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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 """Uses gclient to sync to the specified revision. 282 """Uses gclient to sync to the specified revision.
283 283
284 ie. gclient sync --revision <revision> 284 ie. gclient sync --revision <revision>
285 285
286 Args: 286 Args:
287 revision: The git SHA1 or svn CL (depending on workflow). 287 revision: The git SHA1 or svn CL (depending on workflow).
288 288
289 Returns: 289 Returns:
290 The return code of the call. 290 The return code of the call.
291 """ 291 """
292 return bisect_utils.RunGClient(['sync', '--revision', revision]) 292 return bisect_utils.RunGClient(['sync', '--revision',
293 revision, '--verbose'])
293 294
294 295
295 class GitSourceControl(SourceControl): 296 class GitSourceControl(SourceControl):
296 """GitSourceControl is used to query the underlying source control. """ 297 """GitSourceControl is used to query the underlying source control. """
297 def __init__(self): 298 def __init__(self):
298 super(GitSourceControl, self).__init__() 299 super(GitSourceControl, self).__init__()
299 300
300 def IsGit(self): 301 def IsGit(self):
301 return True 302 return True
302 303
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 1591
1591 if not(bisect_results['error']): 1592 if not(bisect_results['error']):
1592 return 0 1593 return 0
1593 else: 1594 else:
1594 print 'Error: ' + bisect_results['error'] 1595 print 'Error: ' + bisect_results['error']
1595 print 1596 print
1596 return 1 1597 return 1
1597 1598
1598 if __name__ == '__main__': 1599 if __name__ == '__main__':
1599 sys.exit(main()) 1600 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tools/bisect_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698