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

Side by Side Diff: chromium_step.py

Issue 177028: Detect perf regressions and speedups automatically.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/tools/buildbot/scripts/master/
Patch Set: '' Created 11 years, 3 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 | factory/chromium_commands.py » ('j') | log_parser/process_log.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2006-2008 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 """Subclasses of various slave command classes.""" 6 """Subclasses of various slave command classes."""
7 7
8 import copy 8 import copy
9 import os 9 import os
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 self._GetRevision(), self.getLog('stdio').getText()) 117 self._GetRevision(), self.getLog('stdio').getText())
118 118
119 def getText(self, cmd, results): 119 def getText(self, cmd, results):
120 text_list = self.describe(True) 120 text_list = self.describe(True)
121 if self._result_text: 121 if self._result_text:
122 self._result_text.insert(0, '<div class="BuildResultInfo">') 122 self._result_text.insert(0, '<div class="BuildResultInfo">')
123 self._result_text.append('</div>') 123 self._result_text.append('</div>')
124 text_list = text_list + self._result_text 124 text_list = text_list + self._result_text
125 return text_list 125 return text_list
126 126
127 def evaluateCommand(self, cmd):
128 # If the log processor provides a facility to evaluate its performance,
129 # call it.
130 if self._log_processor and self._log_processor.evaluateCommand:
131 return self._log_processor.evaluateCommand(cmd)
132
133 # Otherwise, report success by default.
134 return builder.SUCCESS
135
127 def _CreateReportLinkIfNeccessary(self): 136 def _CreateReportLinkIfNeccessary(self):
128 if self._log_processor.ReportLink(): 137 if self._log_processor.ReportLink():
129 self.addURL('results', "%s" % self._log_processor.ReportLink()) 138 self.addURL('results', "%s" % self._log_processor.ReportLink())
OLDNEW
« no previous file with comments | « no previous file | factory/chromium_commands.py » ('j') | log_parser/process_log.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698