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

Issue 1265933002: Make LayoutFlowThread::fragmentsBoundingBox() faster. (Closed)

Created:
5 years, 4 months ago by mstensho (USE GERRIT)
Modified:
5 years, 4 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Make LayoutFlowThread::fragmentsBoundingBox() faster. It used to let collectLayerFragments() handle the job, with an infinite dirty rectangle. This forced us to collect all columns, when we really only needed to know the bounding boxes of the first and the last columns in each fragmentainer group. This gives a major speed-up in the Layout/multicol/tall-content-short-columns-* tests. It will also make it possible to submit a fix for bug 502407 and write a test for it that doesn't time out. R=jchaffraix@chromium.org,leviw@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200264

Patch Set 1 #

Total comments: 3

Patch Set 2 : Code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -10 lines) Patch
M Source/core/layout/LayoutFlowThread.cpp View 1 chunk +2 lines, -10 lines 0 comments Download
M Source/core/layout/LayoutMultiColumnSet.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutMultiColumnSet.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/layout/MultiColumnFragmentainerGroup.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/layout/MultiColumnFragmentainerGroup.cpp View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
mstensho (USE GERRIT)
5 years, 4 months ago (2015-07-30 15:17:17 UTC) #1
mstensho (USE GERRIT)
5 years, 4 months ago (2015-08-03 08:10:03 UTC) #2
leviw_travelin_and_unemployed
LGTM, but if Julien can give it a second set of eyes I'll feel better. ...
5 years, 4 months ago (2015-08-03 21:33:00 UTC) #3
mstensho (USE GERRIT)
Julien, wdyt? https://codereview.chromium.org/1265933002/diff/1/Source/core/layout/MultiColumnFragmentainerGroup.cpp File Source/core/layout/MultiColumnFragmentainerGroup.cpp (right): https://codereview.chromium.org/1265933002/diff/1/Source/core/layout/MultiColumnFragmentainerGroup.cpp#newcode186 Source/core/layout/MultiColumnFragmentainerGroup.cpp:186: LayoutUnit boundingBoxLogicalBottom = (isHorizontalWritingMode ? flippedBoundingBoxInFlowThread.maxY() : ...
5 years, 4 months ago (2015-08-04 10:48:11 UTC) #4
mstensho (USE GERRIT)
@jchaffraix, leviw needs your help to feel better. :)
5 years, 4 months ago (2015-08-06 11:18:27 UTC) #5
mstensho (USE GERRIT)
ping jchaffraix
5 years, 4 months ago (2015-08-10 12:17:41 UTC) #6
leviw_travelin_and_unemployed
I gave this some more thought and I'd rather not hold it up. Hitting the ...
5 years, 4 months ago (2015-08-10 19:38:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265933002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265933002/20001
5 years, 4 months ago (2015-08-10 19:38:54 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=200264
5 years, 4 months ago (2015-08-10 21:06:08 UTC) #11
esprehn
5 years, 4 months ago (2015-08-13 18:29:58 UTC) #12
Message was sent while issue was closed.
Amazing! Next time you should add BUG=502407 so this gets posted there too. :)

Powered by Google App Engine
This is Rietveld 408576698