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

Issue 2180153003: Revert of [css-grid] Avoid the HashMap for the override containing block size (Closed)

Created:
4 years, 4 months ago by robliao
Modified:
4 years, 4 months ago
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, svillar, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, Manuel Rego, jchaffraix+rendering, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of [css-grid] Avoid the HashMap for the override containing block size (patchset #1 id:1 of https://codereview.chromium.org/2176633002/ ) Reason for revert: Speculative Revert for Win10 Failing Tests: fast/text/emphasis-combined-text.html svg/W3C-SVG-1.1/filters-composite-02-b.svg Original issue's description: > [css-grid] Avoid the HashMap for the override containing block size > > The change made in r406557 caused a 12% regression on the grid layout > performance tests. The root cause is that as part of the changes > required to implement the orthogonal flows support we decided to use > physical directions to determine whether a grid item overflows its > grid area or not. Since we store the logical sizes in a HashMap, we > implemented some utility methods that, based on the grid container's > writing mode, retrieve the stored width or height from the HashMap. > > Since the previous logic was reusing the already computed logical > value, the change introduced a considerable performance regression. > > This patch address the issue by removing the utility methods and > determine the physical sizes directly inside the layout logic. > > BUG=630448 > > Committed: https://crrev.com/2cf9f05031414616d3d1eb1e5ffa5013e396d61b > Cr-Commit-Position: refs/heads/master@{#407762} TBR=svillar@igalia.com,cbiesinger@chromium.org,rego@igalia.com,jfernandez@igalia.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=630448 Committed: https://crrev.com/04a768e5991c6e4d0967320e8b563930769439c9 Cr-Commit-Position: refs/heads/master@{#407972}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -12 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBox.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 4 chunks +27 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 2 chunks +17 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
robliao
Created Revert of [css-grid] Avoid the HashMap for the override containing block size
4 years, 4 months ago (2016-07-26 23:36:44 UTC) #2
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/2180153003/1
4 years, 4 months ago (2016-07-26 23:37:23 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-26 23:38:59 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/04a768e5991c6e4d0967320e8b563930769439c9 Cr-Commit-Position: refs/heads/master@{#407972}
4 years, 4 months ago (2016-07-26 23:41:40 UTC) #7
jfernandez
Are you really sure patch for issue #2176633002 was the cause of the layout tests ...
4 years, 4 months ago (2016-07-27 11:42:43 UTC) #8
robliao
4 years, 4 months ago (2016-07-27 17:14:58 UTC) #9
Message was sent while issue was closed.
On 2016/07/27 11:42:43, jfernandez wrote:
> Are you really sure patch for issue #2176633002 was the cause of the layout
> tests failures ?

No, hence the speculative revert. This was the only substantive change when
those tests started failing. I'll be relanding since they're still failing.

Powered by Google App Engine
This is Rietveld 408576698