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

Issue 1907803002: Add metric to determine the benefit of forcing an event listener to be passive. (Closed)

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

Description

Add metric to determine the benefit of forcing an event listener to be passive. Record the duration of processing an event when its dispatchType was set to be forced non-blocking. BUG=604828 Committed: https://crrev.com/cb268f1f0043f3426ba9f35282f50c2f16e3c185 Cr-Commit-Position: refs/heads/master@{#389163}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Pull metric into check for high resolution #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -9 lines) Patch
M content/renderer/input/render_widget_input_handler.cc View 1 2 chunks +12 lines, -9 lines 3 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +10 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (8 generated)
dtapuska
On 2016/04/21 01:31:38, dtapuska wrote: > mailto:dtapuska@chromium.org changed reviewers: > + mailto:lanwei@chromium.org, mailto:tdresser@chromium.org I'm not ...
4 years, 8 months ago (2016-04-21 01:32:35 UTC) #3
dtapuska
4 years, 8 months ago (2016-04-21 01:32:40 UTC) #4
tdresser
https://codereview.chromium.org/1907803002/diff/1/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/1907803002/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode170 content/renderer/input/render_widget_input_handler.cc:170: base::TimeTicks now = base::TimeTicks::Now(); Are you intentionally only recording ...
4 years, 8 months ago (2016-04-21 13:36:42 UTC) #5
dtapuska
https://codereview.chromium.org/1907803002/diff/1/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/1907803002/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode170 content/renderer/input/render_widget_input_handler.cc:170: base::TimeTicks now = base::TimeTicks::Now(); On 2016/04/21 13:36:42, tdresser wrote: ...
4 years, 8 months ago (2016-04-21 13:38:34 UTC) #6
dtapuska
https://codereview.chromium.org/1907803002/diff/1/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/1907803002/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode170 content/renderer/input/render_widget_input_handler.cc:170: base::TimeTicks now = base::TimeTicks::Now(); On 2016/04/21 13:36:42, tdresser wrote: ...
4 years, 8 months ago (2016-04-21 20:46:38 UTC) #7
tdresser
LGTM https://codereview.chromium.org/1907803002/diff/20001/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/1907803002/diff/20001/content/renderer/input/render_widget_input_handler.cc#newcode163 content/renderer/input/render_widget_input_handler.cc:163: base::TimeTicks now = base::TimeTicks::Now(); Move computation of now ...
4 years, 8 months ago (2016-04-21 20:54:52 UTC) #8
dtapuska
https://codereview.chromium.org/1907803002/diff/20001/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/1907803002/diff/20001/content/renderer/input/render_widget_input_handler.cc#newcode163 content/renderer/input/render_widget_input_handler.cc:163: base::TimeTicks now = base::TimeTicks::Now(); On 2016/04/21 20:54:52, tdresser wrote: ...
4 years, 8 months ago (2016-04-21 21:02:41 UTC) #9
tdresser
https://codereview.chromium.org/1907803002/diff/20001/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/1907803002/diff/20001/content/renderer/input/render_widget_input_handler.cc#newcode163 content/renderer/input/render_widget_input_handler.cc:163: base::TimeTicks now = base::TimeTicks::Now(); On 2016/04/21 21:02:41, dtapuska wrote: ...
4 years, 8 months ago (2016-04-21 21:03:27 UTC) #11
lanwei
LGTM, thanks!
4 years, 8 months ago (2016-04-21 21:20:21 UTC) #12
Ilya Sherman
metrics lgtm
4 years, 8 months ago (2016-04-22 08:26:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907803002/20001
4 years, 8 months ago (2016-04-22 15:55:20 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/176697)
4 years, 8 months ago (2016-04-22 16:03:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907803002/20001
4 years, 8 months ago (2016-04-22 17:11:22 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-22 18:09:00 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:49:44 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cb268f1f0043f3426ba9f35282f50c2f16e3c185
Cr-Commit-Position: refs/heads/master@{#389163}

Powered by Google App Engine
This is Rietveld 408576698