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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: Fix a few compile issues. Created 3 years, 7 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 c309a7f5982044ec4d2c40b0c9ff24b8f1c21a95..f85580534d36d43a5851b2657982e66bd192b328 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -15923,6 +15923,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.Latency.BlockingTime.KeyPressDefaultAllowed" units="ms">
+ <owner>tdresser@chromium.org</owner>
+ <owner>input-dev@chromium.org</owner>
+ <summary>
+ Time between the renderer main thread receiving a keyboard event and acking
+ it, for events which were not preventDefaulted. Only recorded for key
+ presses.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.BlockingTime.KeyPressDefaultPrevented"
+ units="ms">
+ <owner>tdresser@chromium.org</owner>
+ <owner>input-dev@chromium.org</owner>
+ <summary>
+ Time between the renderer main thread receiving a keyboard event and acking
+ it, for events which were preventDefaulted. Only recorded for key presses.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.BlockingTime.TouchEndDefaultAllowed" units="ms">
<owner>tdresser@chromium.org</owner>
<summary>
@@ -16349,6 +16369,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.Latency.Browser.KeyPressAcked" units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <owner>input-dev@chromium.org</owner>
+ <summary>
+ Time between key events sent from RWH to renderer and acked by renderer.
+ Only monitors key presses.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.Browser.KeyPressUI" units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <owner>input-dev@chromium.org</owner>
+ <summary>
+ Time between key events received by Chrome and sent from RWH to renderer.
+ Only monitors key presses.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.Browser.TouchAcked" units="microseconds">
<owner>tdresser@chromium.org</owner>
<summary>
@@ -16385,6 +16423,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.Latency.EndToEnd.Key" units="ms">
+ <owner>tdresser@chromium.org</owner>
+ <owner>input-dev@chromium.org</owner>
+ <summary>
+ Time between the OS receiving a keyboard event and the resulting GPU frame
+ swap. If no swap was induced by the event, no recording is made. Only
+ recorded for key presses.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.HitTest" units="microseconds">
<owner>dtapuska@chromium.org</owner>
<summary>
@@ -16412,6 +16460,27 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Time between input event received by OS and sent to Chrome.</summary>
</histogram>
+<histogram name="Event.Latency.QueueingTime.KeyPressDefaultAllowed" units="ms">
+ <owner>tdresser@chromium.org</owner>
+ <owner>input-dev@chromium.org</owner>
+ <summary>
+ Time between sending a keyboard event to the renderer main thread and when
+ the renderer begins to process that event, for events which were not
+ preventDefaulted. Only recorded for key presses.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.QueueingTime.KeyPressDefaultPrevented"
+ units="ms">
+ <owner>tdresser@chromium.org</owner>
+ <owner>input-dev@chromium.org</owner>
+ <summary>
+ Time between sending a keyboard event to the renderer main thread and when
+ the renderer begins to process that event, for events which were
+ preventDefaulted. Only recorded for key presses.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.QueueingTime.TouchEndDefaultAllowed" units="ms">
<owner>tdresser@chromium.org</owner>
<summary>

Powered by Google App Engine
This is Rietveld 408576698