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

Unified Diff: factory/chromium_commands.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, 4 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 side-by-side diff with in-line comments
Download patch
Index: factory/chromium_commands.py
===================================================================
--- factory/chromium_commands.py (revision 24874)
+++ factory/chromium_commands.py (working copy)
@@ -405,12 +405,14 @@
"""Selects the right build step for the specified page-cycler test."""
report_link = None
output_dir = None
+ perf_name = None
if show_results and self._target in self.PAGECYCLER_TEST_MAPPINGS:
mapping = self.PAGECYCLER_TEST_MAPPINGS[self._target]
dir_name = mapping.get(perf_id)
if dir_name:
if http:
test_name += '-http'
+ perf_name = '%s/%s' % (dir_name, test_name)
report_link = (self.PERF_BASE_URL +
'/%s/%s/' % (dir_name, test_name) +
self.PERF_REPORT_URL_SUFFIX)
@@ -422,7 +424,8 @@
return self._CreatePerformanceStepClass(
process_log.GraphingPageCyclerLogProcessor,
report_link=report_link,
- output_dir=output_dir)
+ output_dir=output_dir,
+ perf_name=perf_name)
def GetPageCyclerCommand(self, test_name, http):
"""Returns a command list to call the _test_tool on the page_cycler
« no previous file with comments | « chromium_step.py ('k') | factory/commands.py » ('j') | log_parser/process_log.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698