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

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

Issue 392613002: Telemetry: Initialize smoothness and thread_times metrics before page load, not after. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/measurements/thread_times.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/smoothness.py
diff --git a/tools/perf/measurements/smoothness.py b/tools/perf/measurements/smoothness.py
index d771917a7613051a1ee462a4f5ad7817e7a83df4..e9f0eddc3902c3fe1b2fcaf0b3545a4f9097d079 100644
--- a/tools/perf/measurements/smoothness.py
+++ b/tools/perf/measurements/smoothness.py
@@ -22,7 +22,7 @@ class Smoothness(page_measurement.PageMeasurement):
def WillStartBrowser(self, browser):
self._power_metric = power.PowerMetric(browser)
- def WillRunActions(self, page, tab):
+ def WillNavigateToPage(self, page, tab):
self._power_metric.Start(page, tab)
tonyg 2014/07/14 16:10:15 Could we please keep this in WillRunAction. That w
Dominik Grewe 2014/07/14 16:50:25 Doing that leads to a gap of about 500ms between p
self._smoothness_controller = smoothness_controller.SmoothnessController()
self._smoothness_controller.Start(page, tab)
« no previous file with comments | « no previous file | tools/perf/measurements/thread_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698