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

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

Issue 16213002: Add telemetry to track the time an event spent waiting for the main thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 4 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/metrics/smoothness.py
diff --git a/tools/perf/metrics/smoothness.py b/tools/perf/metrics/smoothness.py
index c4ec7bc57eb529449731f315190bc471a6701b08..455dc3d453b86aedb2a7850b9d9ad29cf2020af2 100644
--- a/tools/perf/metrics/smoothness.py
+++ b/tools/perf/metrics/smoothness.py
@@ -155,3 +155,11 @@ def CalcResults(benchmark_stats, results):
Average(s.scroll_update_latency, s.scroll_update_count,
1000, 3),
data_type='unimportant')
+ results.Add('average_impl_to_main_touch_event_latency', 'ms',
+ Average(s.total_impl_to_main_touch_event_latency,
+ s.impl_to_main_touch_event_count, 1000, 3),
+ data_type='unimportant')
+ results.Add('average_impl_to_main_gesture_scroll_event_latency', 'ms',
+ Average(s.total_impl_to_main_gesture_scroll_event_latency,
+ s.impl_to_main_gesture_scroll_event_count, 1000, 3),
+ data_type='unimportant')

Powered by Google App Engine
This is Rietveld 408576698