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

Unified Diff: tools/perf/metrics/smoothness_unittest.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_unittest.py
diff --git a/tools/perf/metrics/smoothness_unittest.py b/tools/perf/metrics/smoothness_unittest.py
index 2a42f9dd24e39b71792dc1934b87ab0ed74ed406..42cf49a116f5123202860f61140a5b5e6345dd21 100644
--- a/tools/perf/metrics/smoothness_unittest.py
+++ b/tools/perf/metrics/smoothness_unittest.py
@@ -37,7 +37,11 @@ class SmoothnessMetricsUnitTest(unittest.TestCase):
'touchAckedCount': 190,
'totalTouchAckedLatency': 1.9,
'scrollUpdateCount': 200,
- 'totalScrollUpdateLatency': 2.0}
+ 'totalScrollUpdateLatency': 2.0,
+ 'implToMainTouchEventCount': 100,
+ 'totalImplToMainTouchEventLatency': 0.7,
+ 'implToMainGestureScrollEventCount': 133,
+ 'totalImplToMainGestureScrollEventLatency': 2.7}
stats = GpuRenderingStats(mock_rendering_stats_deltas)
res = PageMeasurementResults()

Powered by Google App Engine
This is Rietveld 408576698