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

Unified Diff: tools/perf/measurements/endure.py

Issue 23963003: Adding page names to all endure pagesets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using underscores for page names Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/calendar_forward_backward.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/endure.py
diff --git a/tools/perf/measurements/endure.py b/tools/perf/measurements/endure.py
index 9cf4e75b482d1a2da1edaa5bdb64454b19d12d21..3091fb77d0ce5143bf3743d50f7b5914d24a06bf 100644
--- a/tools/perf/measurements/endure.py
+++ b/tools/perf/measurements/endure.py
@@ -32,6 +32,10 @@ class Endure(page_measurement.PageMeasurement):
"""Reset the starting time for each new page."""
self._test_start_time = time.time()
+ # Prefix the page name so it can be picked up by endure parser.
+ if page.name and not page.display_name.startswith('endure_'):
+ page.name = 'endure_' + page.name
+
def MeasurePage(self, page, tab, results):
"""Dump perf information if we have gone past our interval time."""
now = time.time()
« no previous file with comments | « no previous file | tools/perf/page_sets/calendar_forward_backward.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698