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

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

Issue 281553002: For page cyclers, move power metrics start to WillNavigate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/page_cycler.py
diff --git a/tools/perf/measurements/page_cycler.py b/tools/perf/measurements/page_cycler.py
index c57f254abfaef086c7bcfc08e0276fd714b78ce5..97b952171bdd3ea545570b2bb9f80325ee2c8df6 100644
--- a/tools/perf/measurements/page_cycler.py
+++ b/tools/perf/measurements/page_cycler.py
@@ -82,10 +82,10 @@ class PageCycler(page_measurement.PageMeasurement):
if self._report_speed_index:
self._speedindex_metric.Start(page, tab)
self._cpu_metric.Start(page, tab)
+ self._power_metric.Start(page, tab)
def DidNavigateToPage(self, page, tab):
self._memory_metric.Start(page, tab)
- self._power_metric.Start(page, tab)
if self._record_v8_object_stats:
self._v8_object_stats_metric.Start(page, tab)
« 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