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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2341413002: New scroll latency metrics added for touch and wheel. (Closed)
Patch Set: Created 4 years, 3 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:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 378701f806a60e4b7402dc4c195bf67970d6504c..50502d5d61fff6e277bb80ea70b8f4010d2283e1 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -13431,6 +13431,54 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram
+ name="Event.Latency.ScrollUpdate.Touch.BrowserNotifiedToBeforeGpuSwap"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the browser receives the notification of a ScrollUpdate gesture
+ event with touch source induced renderer swap and GPU starts to swap.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Touch.GpuSwap" units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between gpu starts to swap a ScrollUpdate gesture event with touch
+ source induced frame and the swap finishes.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Touch.HandledToRendererSwap"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the ScrollUpdate gesture event with touch source, is handled on
+ main/impl thread (specified by suffix) and before renderer starts to swap.
+ </summary>
+</histogram>
+
+<histogram
+ name="Event.Latency.ScrollUpdate.Touch.RendererSwapToBrowserNotified"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the renderer starts to swap a frame induced by ScrollUpdate
+ gesture event with touch source, and browser receives the swap notification.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Touch.ToHandled"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a touch event and the generated
+ ScrollUpdate gesture event is handled on main/impl thread (specified by
+ suffix). If no swap was induced by the ScrollUpdate gesture event, no
+ recording is made.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.ScrollUpdate.TouchToHandled"
units="microseconds">
<owner>rbyers@chromium.org</owner>
@@ -13442,6 +13490,75 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram
+ name="Event.Latency.ScrollUpdate.Wheel.BrowserNotifiedToBeforeGpuSwap"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the browser receives the notification of a ScrollUpdate gesture
+ event with wheel source induced renderer swap and GPU starts to swap.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Wheel.GpuSwap" units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between gpu starts to swap a ScrollUpdate gesture event with wheel
+ source induced frame and the swap finishes.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Wheel.HandledToRendererSwap"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the ScrollUpdate gesture event with wheel source, is handled on
+ main/impl thread (specified by suffix) and before renderer starts to swap.
+ </summary>
+</histogram>
+
+<histogram
+ name="Event.Latency.ScrollUpdate.Wheel.RendererSwapToBrowserNotified"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the renderer starts to swap a frame induced by ScrollUpdate
+ gesture event with wheel source, and browser receives the swap notification.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Wheel.ToHandled"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a wheel event and the generated
+ ScrollUpdate gesture event is handled on main/impl thread (specified by
+ suffix). If no swap was induced by the ScrollUpdate gesture event, no
+ recording is made.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.Touch.ToFirstScrollUpdateSwapBegin"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a touch event and the start of the frame
+ swap on the GPU service caused by the generated ScrollUpdate gesture event
+ if that ScrollUpdate is the first such event in a given scroll gesture event
+ sequence. If no swap was induced by the event, no recording is made.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.Touch.ToScrollUpdateSwapBegin"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a touch event and start of the frame swap
+ on the GPU service caused by the generated ScrollUpdate gesture event. If no
+ swap was induced by the event, no recording is made.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.TouchToFirstScrollUpdateSwap"
units="microseconds">
<owner>rbyers@chromium.org</owner>
@@ -13490,6 +13607,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.Latency.Wheel.ToFirstScrollUpdateSwapBegin"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a wheel event and the start of the frame
+ swap on the GPU service caused by the generated ScrollUpdate gesture event
+ if that ScrollUpdate is the first such event in a given scroll gesture event
+ sequence. If no swap was induced by the event, no recording is made.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.X11EventSource.UpdateServerTime"
units="microseconds">
<obsolete>
@@ -105356,9 +105484,15 @@ To add a new entry, add it with any value and run test to compute valid value.
<histogram_suffixes name="ScrollUpdateHandledThread">
<affected-histogram name="Event.Latency.ScrollUpdate.HandledToRendererSwap"/>
+ <affected-histogram
+ name="Event.Latency.ScrollUpdate.Touch.HandledToRendererSwap"/>
+ <affected-histogram name="Event.Latency.ScrollUpdate.Touch.ToHandled"/>
<suffix name="Main" label="ScrollUpdate handled on main thread"/>
<suffix name="Impl" label="ScrollUpdate handled on impl thread"/>
<affected-histogram name="Event.Latency.ScrollUpdate.TouchToHandled"/>
+ <affected-histogram
+ name="Event.Latency.ScrollUpdate.Wheel.HandledToRendererSwap"/>
+ <affected-histogram name="Event.Latency.ScrollUpdate.Wheel.ToHandled"/>
</histogram_suffixes>
<histogram_suffixes name="SecurityInterstitialSBType" separator="."

Powered by Google App Engine
This is Rietveld 408576698