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

Issue 1983883002: Add UMA metric to track the time saved on making events passive before pageload (Closed)

Created:
4 years, 7 months ago by lanwei
Modified:
4 years, 7 months ago
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA metric to track the time saved on making events passive before pageload. In the touch scrolling intervention proposal, we could treat touchstart and the first touchmove event listeners as passive before the page is fully loaded. We are adding a metric that records the time we saved on making touch events passive before pageload. BUG=601179 Committed: https://crrev.com/85c792f7387cf9f434057b26976f31ac4305dc23 Cr-Commit-Position: refs/heads/master@{#394188}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change latency max and comment #

Total comments: 7

Patch Set 3 : Change bucket size and comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -2 lines) Patch
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
lanwei
4 years, 7 months ago (2016-05-16 15:42:20 UTC) #3
tdresser
LGTM with nits. https://codereview.chromium.org/1983883002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/1983883002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode246 third_party/WebKit/Source/core/input/TouchEventManager.cpp:246: // Count the handled touch starts ...
4 years, 7 months ago (2016-05-16 17:13:56 UTC) #4
dtapuska
lgtm
4 years, 7 months ago (2016-05-16 19:56:49 UTC) #5
lanwei
https://codereview.chromium.org/1983883002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/1983883002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode246 third_party/WebKit/Source/core/input/TouchEventManager.cpp:246: // Count the handled touch starts and first touch ...
4 years, 7 months ago (2016-05-16 20:23:09 UTC) #7
Ilya Sherman
https://codereview.chromium.org/1983883002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/1983883002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode252 third_party/WebKit/Source/core/input/TouchEventManager.cpp:252: DEFINE_STATIC_LOCAL(CustomCountHistogram, eventLatencyAfterPageLoadHistogram, ("Event.Touch.TouchesAfterPageLoadLatency", 1, 100000000, 100)); Do you need ...
4 years, 7 months ago (2016-05-17 01:24:55 UTC) #8
Rick Byers
core LGTM
4 years, 7 months ago (2016-05-17 13:34:45 UTC) #9
tdresser
50 buckets should be fine.
4 years, 7 months ago (2016-05-17 13:51:45 UTC) #10
lanwei
https://codereview.chromium.org/1983883002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/1983883002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode252 third_party/WebKit/Source/core/input/TouchEventManager.cpp:252: DEFINE_STATIC_LOCAL(CustomCountHistogram, eventLatencyAfterPageLoadHistogram, ("Event.Touch.TouchesAfterPageLoadLatency", 1, 100000000, 100)); On 2016/05/17 01:24:55, ...
4 years, 7 months ago (2016-05-17 17:57:30 UTC) #11
Ilya Sherman
histograms lgtm, thanks
4 years, 7 months ago (2016-05-17 18:17:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1983883002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1983883002/40001
4 years, 7 months ago (2016-05-17 18:50:23 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-17 19:25:32 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 19:27:48 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/85c792f7387cf9f434057b26976f31ac4305dc23
Cr-Commit-Position: refs/heads/master@{#394188}

Powered by Google App Engine
This is Rietveld 408576698