|
Add Keyboard Latency UMA Metrics.
This doesn't correctly handle Android IME cases, or split out keyboard
scrolling from other keyboard entries.
We look specifically at events related to key presses, as most behavior is
triggered off of key press events, and key release event latency is mainly
driven by the time spent handling press related events.
Adds the following UMA metrics:
Event.Latency.QueueingTime.KeyPressDefaultPrevented
Event.Latency.QueueingTime.KeyPressDefaultAllowed
Event.Latency.BlockingTime.KeyEventDefaultPrevented
Event.Latency.BlockingTime.KeyEventDefaultAllowed
Event.Latency.Browser.KeyPressUI
Event.Latency.Browser.KeyPressAcked
Event.Latency.EndToEnd.KeyPress
BUG= 673731
TEST=RenderWidgetHostLatencyTrackerTest.Key*
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2756893002
Cr-Commit-Position: refs/heads/master@{#471811}
Committed: https://chromium.googlesource.com/chromium/src/+/8fef90770e83bf54f895c971ff08d5016ddabefc
Total comments: 31
Total comments: 2
Total comments: 2
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+417 lines, -66 lines) |
Patch |
|
M |
chrome/browser/chromeos/accessibility/event_handler_common.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/find_bar_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_child_frame.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_child_frame.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/render_widget_host_latency_tracker.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+25 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
13 chunks |
+185 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
9 chunks |
+26 lines, -14 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_base.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_event_handler.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_event_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
7 chunks |
+24 lines, -13 lines |
0 comments
|
Download
|
|
M |
content/public/browser/render_widget_host.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
4 chunks |
+69 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/events/event.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/latency/latency_info.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/latency/latency_tracker.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/latency/latency_tracker.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+14 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/latency/mojo/latency_info.mojom
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/latency/mojo/latency_info_struct_traits.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 96 (69 generated)
|