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

Issue 1550513003: Skip dirtying lines when attaching children prior to attaching oneself (Closed)

Created:
4 years, 12 months ago by rhogan
Modified:
4 years, 4 months ago
Reviewers:
esprehn, eae
CC:
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

Skip dirtying lines when attaching children prior to attaching oneself If a parent is about to be (re)attached then there is no point in keeping its dirty lines up to date as we attach children. The parent will get a full layout anyway and we end up having to dirty the lineboxes for every inlines we add - which can get expensive if there are a lot of inlines. BUG=345972 Committed: https://crrev.com/dcb4562e8f888588dfe686b1b9d864e39b3dc5cb Cr-Commit-Position: refs/heads/master@{#408601}

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updted #

Total comments: 1

Patch Set 5 : Updated #

Patch Set 6 : Skip dirtying lines when attaching children prior to attaching oneself #

Total comments: 4

Patch Set 7 : Skip dirtying lines when attaching children prior to attaching oneself #

Patch Set 8 : Skip dirtying lines when attaching children prior to attaching oneself #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
A third_party/WebKit/PerformanceTests/Layout/attach-inlines.html View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/WebKit/PerformanceTests/Layout/attach-inlines-2.html View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/LineBoxList.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 35 (12 generated)
rhogan
4 years, 12 months ago (2015-12-24 13:31:49 UTC) #3
esprehn
I don't think this fixes the bug, the parent will be already attached since we're ...
4 years, 12 months ago (2015-12-24 17:36:55 UTC) #4
esprehn
I don't think this fixes the bug, the parent will be already attached since we're ...
4 years, 12 months ago (2015-12-24 17:36:55 UTC) #5
rhogan
On 2015/12/24 at 17:36:55, esprehn wrote: > I don't think this fixes the bug, the ...
4 years, 11 months ago (2015-12-28 08:50:11 UTC) #6
esprehn
You're just observing network speed and parser yielding. The parser may yield at any time ...
4 years, 11 months ago (2015-12-28 17:58:41 UTC) #7
esprehn
You're just observing network speed and parser yielding. The parser may yield at any time ...
4 years, 11 months ago (2015-12-28 17:58:43 UTC) #8
rhogan
On 2015/12/28 at 17:58:43, esprehn wrote: > You're just observing network speed and parser yielding. ...
4 years, 11 months ago (2016-01-05 07:19:32 UTC) #9
esprehn
https://codereview.chromium.org/1550513003/diff/60001/third_party/WebKit/Source/core/layout/LayoutInline.cpp File third_party/WebKit/Source/core/layout/LayoutInline.cpp (right): https://codereview.chromium.org/1550513003/diff/60001/third_party/WebKit/Source/core/layout/LayoutInline.cpp#newcode896 third_party/WebKit/Source/core/layout/LayoutInline.cpp:896: if (node() && node()->childNeedsStyleRecalc()) why is it okay to ...
4 years, 11 months ago (2016-01-05 07:40:38 UTC) #10
rhogan
On 2016/01/05 at 07:40:38, esprehn wrote: > https://codereview.chromium.org/1550513003/diff/60001/third_party/WebKit/Source/core/layout/LayoutInline.cpp > File third_party/WebKit/Source/core/layout/LayoutInline.cpp (right): > > https://codereview.chromium.org/1550513003/diff/60001/third_party/WebKit/Source/core/layout/LayoutInline.cpp#newcode896 ...
4 years, 11 months ago (2016-01-05 09:52:56 UTC) #11
rhogan
On 2016/01/05 at 09:52:56, rhogan wrote: > On 2016/01/05 at 07:40:38, esprehn wrote: > > ...
4 years, 11 months ago (2016-01-13 09:30:29 UTC) #12
esprehn
I don't think looking at the recalcStyle dirty bits from inside the linebox dirtying code ...
4 years, 11 months ago (2016-01-20 09:01:45 UTC) #13
rhogan
On 2016/01/20 at 09:01:45, esprehn wrote: > I don't think looking at the recalcStyle dirty ...
4 years, 5 months ago (2016-07-11 21:32:07 UTC) #14
rhogan
4 years, 5 months ago (2016-07-18 21:30:43 UTC) #18
eae
Looks fine to me but please wait for Elliott to chime in again before landing. ...
4 years, 5 months ago (2016-07-18 21:33:14 UTC) #19
esprehn
What's the perf numbers on your test with/without the patch? I think this is probably ...
4 years, 5 months ago (2016-07-18 22:12:19 UTC) #20
esprehn
https://codereview.chromium.org/1550513003/diff/100001/third_party/WebKit/PerformanceTests/Layout/attach-inlines.html File third_party/WebKit/PerformanceTests/Layout/attach-inlines.html (right): https://codereview.chromium.org/1550513003/diff/100001/third_party/WebKit/PerformanceTests/Layout/attach-inlines.html#newcode11 third_party/WebKit/PerformanceTests/Layout/attach-inlines.html:11: var innerHTML = "<span>Text</span>"; innerHTML = "<span>Text</span>".repeat(N); https://codereview.chromium.org/1550513003/diff/100001/third_party/WebKit/PerformanceTests/Layout/attach-inlines.html#newcode13 third_party/WebKit/PerformanceTests/Layout/attach-inlines.html:13: ...
4 years, 5 months ago (2016-07-18 22:16:51 UTC) #21
rhogan
On 2016/07/18 at 22:12:19, esprehn wrote: > What's the perf numbers on your test with/without ...
4 years, 4 months ago (2016-07-24 11:46:03 UTC) #22
rhogan
On 2016/07/24 at 11:46:03, rhogan wrote: > On 2016/07/18 at 22:12:19, esprehn wrote: > > ...
4 years, 4 months ago (2016-07-28 15:42:16 UTC) #27
esprehn
lgtm
4 years, 4 months ago (2016-07-28 17:45:40 UTC) #28
esprehn
On 2016/07/28 at 17:45:40, esprehn wrote: > lgtm Thanks so much for all your diligence ...
4 years, 4 months ago (2016-07-28 17:46:08 UTC) #29
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/1550513003/140001
4 years, 4 months ago (2016-07-29 06:39:09 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-07-29 08:00:33 UTC) #33
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 08:02:11 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/dcb4562e8f888588dfe686b1b9d864e39b3dc5cb
Cr-Commit-Position: refs/heads/master@{#408601}

Powered by Google App Engine
This is Rietveld 408576698