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

Issue 2841603003: Record non-stacking-context as main thread scrolling reasons (Closed)

Created:
3 years, 8 months ago by yigu
Modified:
3 years, 7 months ago
Reviewers:
flackr, bokan, ajuma, jwd
CC:
chromium-reviews, dshwang, asvitkine+watch_chromium.org, blink-reviews-paint_chromium.org, blink-reviews, cc-bugs_chromium.org, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Record non-stacking-context as main thread scrolling reasons There is another common main thread scrolling reason that needs to be added. A scrollable area with an opaque background is not a stacking context therefore we don't composite it for now. BUG=660907 TEST=ScrollingCoordinatorTest.StackingContextTest CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2841603003 Cr-Commit-Position: refs/heads/master@{#468122} Committed: https://chromium.googlesource.com/chromium/src/+/2605f2b320fe9d3d9fbe4d00964fa784a1b6ab16

Patch Set 1 #

Patch Set 2 : Test update #

Total comments: 4

Patch Set 3 : Update reason name #

Total comments: 8

Patch Set 4 : Only keep the NonStackingContext reason #

Total comments: 2

Patch Set 5 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -5 lines) Patch
M cc/input/main_thread_scrolling_reason.h View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp View 1 2 3 2 chunks +31 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (15 generated)
yigu
With some further investigation on main thread scrolling reasons, I've found that there are at ...
3 years, 8 months ago (2017-04-24 21:53:27 UTC) #5
bokan
I'm not sure I understand the commit message on the first reason, what is a ...
3 years, 8 months ago (2017-04-25 18:04:15 UTC) #6
yigu
On 2017/04/25 18:04:15, bokan wrote: > I'm not sure I understand the commit message on ...
3 years, 8 months ago (2017-04-25 19:16:56 UTC) #7
bokan
On 2017/04/25 19:16:56, yigu wrote: > By "pure background" I meant: > <div style="overflow:scroll; width:200px; ...
3 years, 8 months ago (2017-04-25 19:18:30 UTC) #8
yigu
PTAL. Thanks! https://codereview.chromium.org/2841603003/diff/20001/cc/input/main_thread_scrolling_reason.h File cc/input/main_thread_scrolling_reason.h (right): https://codereview.chromium.org/2841603003/diff/20001/cc/input/main_thread_scrolling_reason.h#newcode48 cc/input/main_thread_scrolling_reason.h:48: kHasOverflowClipAndLCDText = 1 << 23, On 2017/04/25 ...
3 years, 7 months ago (2017-04-26 15:38:36 UTC) #10
bokan
code is lgtm % fixes to comments but please have flackr@ take a look as ...
3 years, 7 months ago (2017-04-26 15:52:15 UTC) #11
jwd
metrics LGTM
3 years, 7 months ago (2017-04-26 23:35:13 UTC) #12
yigu
https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h File cc/input/main_thread_scrolling_reason.h (right): https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h#newcode48 cc/input/main_thread_scrolling_reason.h:48: kHasOverflowClipAndLayoutObjectBackgroundNotOpaqueAndLCDText = 1 << 23, On 2017/04/26 15:52:15, bokan ...
3 years, 7 months ago (2017-04-27 15:28:27 UTC) #13
bokan
https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h File cc/input/main_thread_scrolling_reason.h (right): https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h#newcode48 cc/input/main_thread_scrolling_reason.h:48: kHasOverflowClipAndLayoutObjectBackgroundNotOpaqueAndLCDText = 1 << 23, On 2017/04/27 15:28:27, yigu ...
3 years, 7 months ago (2017-04-27 15:40:31 UTC) #14
bokan
3 years, 7 months ago (2017-04-27 15:40:51 UTC) #15
yigu
On 2017/04/27 15:40:31, bokan wrote: > https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h > File cc/input/main_thread_scrolling_reason.h (right): > > https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h#newcode48 > ...
3 years, 7 months ago (2017-04-27 15:44:14 UTC) #16
bokan
On 2017/04/27 15:44:14, yigu wrote: > On 2017/04/27 15:40:31, bokan wrote: > > > https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h ...
3 years, 7 months ago (2017-04-27 15:50:08 UTC) #17
bokan
...and lgtm (assuming you haven't uploaded a new patch with the updated comment).
3 years, 7 months ago (2017-04-27 15:50:53 UTC) #18
flackr
https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h File cc/input/main_thread_scrolling_reason.h (right): https://codereview.chromium.org/2841603003/diff/40001/cc/input/main_thread_scrolling_reason.h#newcode48 cc/input/main_thread_scrolling_reason.h:48: kHasOverflowClipAndLayoutObjectBackgroundNotOpaqueAndLCDText = 1 << 23, On 2017/04/27 15:40:31, bokan ...
3 years, 7 months ago (2017-04-27 18:42:35 UTC) #19
yigu
After chatting with flackr@, we decide that only record the NonStackingContext reason in this patch. ...
3 years, 7 months ago (2017-04-28 14:46:05 UTC) #20
flackr
lgtm
3 years, 7 months ago (2017-04-28 14:55:22 UTC) #23
flackr
https://codereview.chromium.org/2841603003/diff/60001/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp File third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp (right): https://codereview.chromium.org/2841603003/diff/60001/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp#newcode352 third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp:352: nit: Remove extra line
3 years, 7 months ago (2017-04-28 17:36:58 UTC) #24
yigu
https://codereview.chromium.org/2841603003/diff/60001/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp File third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp (right): https://codereview.chromium.org/2841603003/diff/60001/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp#newcode352 third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp:352: On 2017/04/28 17:36:58, flackr wrote: > nit: Remove extra ...
3 years, 7 months ago (2017-04-28 17:50:09 UTC) #27
ajuma
cc lgtm
3 years, 7 months ago (2017-04-28 17:58:28 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2841603003/80001
3 years, 7 months ago (2017-04-28 20:40:09 UTC) #33
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 20:52:00 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2605f2b320fe9d3d9fbe4d00964f...

Powered by Google App Engine
This is Rietveld 408576698