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

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

Issue 18937002: Add UMA/Telemetry stats for end-to-end scroll latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add SCROLL_UPDATE_ORIGINAL_COMPONENT to specifically track scroll_update latency Created 7 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
Index: tools/perf/measurements/smoothness.py
diff --git a/tools/perf/measurements/smoothness.py b/tools/perf/measurements/smoothness.py
index b875127d9783e515654e75feda70e426bd2d8560..37a344e8db0e5bb79d63e82e5336181d49dd8125 100644
--- a/tools/perf/measurements/smoothness.py
+++ b/tools/perf/measurements/smoothness.py
@@ -159,6 +159,9 @@ def CalcLatencyResults(rendering_stats_deltas, results):
'totalTouchAckedLatency',
'average_touch_acked_latency',
results)
+ CalcLatency(rendering_stats_deltas, 'scrollUpdateCount',
+ 'totalScrollUpdateLatency',
+ 'average_scroll_update_latency', results)
class Smoothness(page_measurement.PageMeasurement):
def __init__(self):

Powered by Google App Engine
This is Rietveld 408576698