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

Issue 2292033002: [css-grid] Fix 1% regression on system_health.memory_desktop (Closed)

Created:
4 years, 3 months ago by svillar
Modified:
4 years, 3 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-style_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Fix 1% regression on system_health.memory_desktop Apparently crrev.com/407361 added a 1% memory regression. The only thing that could be increasing memory consumption is the fact that we now require a vector to store the auto tracks instead of just a single GridTrack. We can make the Vector just reserve 1 element of capacity by default. BUG=631057 Committed: https://crrev.com/5d2f646883db3f2abe8a503c9702698d1e3cfab7 Cr-Commit-Position: refs/heads/master@{#415916}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 11 (3 generated)
svillar
4 years, 3 months ago (2016-08-30 10:24:10 UTC) #2
jfernandez
https://codereview.chromium.org/2292033002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2292033002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode2006 third_party/WebKit/Source/core/style/ComputedStyle.cpp:2006: trackSizeList.reserveInitialCapacity(1); Wouldn't make more sense to pay with Vector's ...
4 years, 3 months ago (2016-08-30 11:05:14 UTC) #3
svillar
On 2016/08/30 11:05:14, jfernandez wrote: > https://codereview.chromium.org/2292033002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp > File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): > > https://codereview.chromium.org/2292033002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode2006 > ...
4 years, 3 months ago (2016-08-30 13:44:27 UTC) #4
cbiesinger
lgtm
4 years, 3 months ago (2016-08-30 14:11:57 UTC) #5
eae
LGTM
4 years, 3 months ago (2016-08-30 14:53:18 UTC) #6
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/2292033002/1
4 years, 3 months ago (2016-09-01 07:42:53 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-01 09:00:04 UTC) #9
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 09:03:25 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5d2f646883db3f2abe8a503c9702698d1e3cfab7
Cr-Commit-Position: refs/heads/master@{#415916}

Powered by Google App Engine
This is Rietveld 408576698