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

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: 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 80b7cd6307ccfaf12f1718c0f9c98d3d20be6ef2..9ebfc10eb97348bdb984f28358df18ccb42e69b5 100644
--- a/tools/perf/measurements/smoothness.py
+++ b/tools/perf/measurements/smoothness.py
@@ -159,6 +159,8 @@ def CalcLatencyResults(rendering_stats_deltas, results):
'totalTouchAckedLatency',
'average_touch_acked_latency',
results)
+ CalcLatency(rendering_stats_deltas, 'scrollEventCount', 'totalScrollLatency',
+ 'average_scroll_latency', results)
class Smoothness(page_measurement.PageMeasurement):
def __init__(self):

Powered by Google App Engine
This is Rietveld 408576698