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

Issue 1474443002: Add UMA metrics to determine the usefulness of passive event listeners. (Closed)

Created:
5 years, 1 month ago by dtapuska
Modified:
5 years ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master_passive_uma
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA metrics to determine the usefulness of passive event listeners. The UMA metrics track whether an event was passive (not yet implemented), uncancelable, cancelable&canceled, cancelable&not canceled. UMA metrics are calculated for TouchStart,Move,End and MouseWheel listeners. For items that are cancelable&not canceled; the latency info is computed and logged; this of course is captured in the render_widget so it doesn't account for the full round trip time but more or less the queuing delay. BUG=543611 Committed: https://crrev.com/e747361b3877af48ebb20ec6e7999c2120d4a16a Cr-Commit-Position: refs/heads/master@{#363201}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fix nits #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Fix time calculation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -14 lines) Patch
M content/renderer/render_widget.cc View 1 2 3 4 7 chunks +83 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +24 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 28 (13 generated)
dtapuska
5 years, 1 month ago (2015-11-23 20:43:29 UTC) #3
tdresser
LGTM with nits. https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc#newcode1136 content/renderer/render_widget.cc:1136: bool passive = false; Add a ...
5 years, 1 month ago (2015-11-23 21:14:34 UTC) #4
dtapuska
https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc#newcode1233 content/renderer/render_widget.cc:1233: input_event->type == WebInputEvent::TouchEnd) { On 2015/11/23 21:14:34, tdresser wrote: ...
5 years, 1 month ago (2015-11-23 21:33:57 UTC) #5
dtapuska
https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc#newcode1136 content/renderer/render_widget.cc:1136: bool passive = false; On 2015/11/23 21:14:34, tdresser wrote: ...
5 years ago (2015-11-27 20:05:25 UTC) #6
dtapuska
On 2015/11/27 20:05:25, dtapuska wrote: > https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc > File content/renderer/render_widget.cc (right): > > https://codereview.chromium.org/1474443002/diff/1/content/renderer/render_widget.cc#newcode1136 > ...
5 years ago (2015-12-02 19:22:04 UTC) #8
Rick Byers
LGTM, thanks for the fix and additional TODO.
5 years ago (2015-12-03 19:17:16 UTC) #10
Ilya Sherman
histograms lgtm
5 years ago (2015-12-03 22:22:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1474443002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1474443002/80001
5 years ago (2015-12-03 22:25:43 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_rel on ...
5 years ago (2015-12-04 00:39:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1474443002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1474443002/80001
5 years ago (2015-12-04 04:04:47 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/124902)
5 years ago (2015-12-04 04:14:45 UTC) #21
jochen (gone - plz use gerrit)
lgtm
5 years ago (2015-12-04 13:39:34 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1474443002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1474443002/80001
5 years ago (2015-12-04 14:17:51 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-12-04 14:23:15 UTC) #26
commit-bot: I haz the power
5 years ago (2015-12-04 14:24:30 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e747361b3877af48ebb20ec6e7999c2120d4a16a
Cr-Commit-Position: refs/heads/master@{#363201}

Powered by Google App Engine
This is Rietveld 408576698