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

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

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: mfomitchev responses, rebase Created 3 years, 8 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 b54a337982b557241462bc02932b41ab3b2aaa88..85b623d630ff35fb7e11ddf7b3969c2d46912528 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -15883,6 +15883,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.Latency.BlockingTime.KeyEventDefaultAllowed" 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.KeyEventDefaultPrevented"
+ 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>
@@ -16309,6 +16329,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.Latency.Browser.KeyAcked" 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.KeyUI" 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>
@@ -16345,6 +16383,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>
@@ -16372,6 +16420,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.KeyEventDefaultAllowed" 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.KeyEventDefaultPrevented"
+ 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