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

Issue 1827793004: Add initial UMA metrics for ScrollAnchoring (Closed)

Created:
4 years, 9 months ago by ymalik
Modified:
4 years, 8 months ago
Reviewers:
skobes, Mark P, jbroman, ojan
CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add initial UMA metrics for ScrollAnchoring This CL adds the Layout.ScrollAnchor.AdjustedScrollOffset histogram which simply counts the number of times an adjustment is made. This CL also adds a UseCount to ScrollAnchor. The first metric gives us an overall idea of the number of times we adjust the scroll position. The UseCount tells us out of all the page visits, for how many of them did we have to adjust the scroll offset. BUG=596956 Committed: https://crrev.com/947c497505bf933d448b5787568491a0203c35b6 Cr-Commit-Position: refs/heads/master@{#383868}

Patch Set 1 #

Patch Set 2 : Add use counter #

Total comments: 2

Patch Set 3 : test + review feedback #

Patch Set 4 : rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchor.cpp View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp View 1 2 3 2 chunks +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/HistogramTester.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/HistogramTester.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
ymalik
Hey guys, I tested this locally. I have a unittest for it that uses HistogramTester ...
4 years, 9 months ago (2016-03-24 17:01:24 UTC) #3
skobes
On 2016/03/24 17:01:24, ymalik1 wrote: > I tested this locally. I have a unittest for ...
4 years, 9 months ago (2016-03-24 18:59:12 UTC) #4
ymalik
On 2016/03/24 18:59:12, skobes wrote: > On 2016/03/24 17:01:24, ymalik1 wrote: > > I tested ...
4 years, 9 months ago (2016-03-25 19:37:51 UTC) #5
ymalik
https://codereview.chromium.org/1827793004/diff/20001/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/1827793004/diff/20001/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode172 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:172: if (m_scroller->isFrameView()) { On 2016/03/24 18:59:11, skobes wrote: > ...
4 years, 9 months ago (2016-03-25 19:38:07 UTC) #6
skobes
lgtm
4 years, 9 months ago (2016-03-25 19:41:15 UTC) #7
ymalik
+jbroman for Source/platform +asvitkine for tools/metrics/histograms/histograms.xml
4 years, 9 months ago (2016-03-25 19:46:04 UTC) #9
jbroman
platform lgtm
4 years, 9 months ago (2016-03-26 01:45:09 UTC) #10
ymalik
+mpearson for tools/metrics/histograms/histograms.xml
4 years, 8 months ago (2016-03-29 14:27:16 UTC) #12
Mark P
histograms.xml lgtm
4 years, 8 months ago (2016-03-29 17:46:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827793004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827793004/40001
4 years, 8 months ago (2016-03-29 18:00:37 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/10389) ios_rel_device_gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-03-29 18:03:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827793004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827793004/60001
4 years, 8 months ago (2016-03-29 20:48:08 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-29 23:43:39 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 23:44:34 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/947c497505bf933d448b5787568491a0203c35b6
Cr-Commit-Position: refs/heads/master@{#383868}

Powered by Google App Engine
This is Rietveld 408576698