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

Issue 2689213013: Move previous border box size out of global map into LayoutBox::m_previousSize (Closed)

Created:
3 years, 10 months ago by Xianzhu
Modified:
3 years, 10 months ago
Reviewers:
pdr., trchen
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, blink-reviews-layout_chromium.org, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move previous border box size out of global map into LayoutBox::m_previousSize This slightly increases size of LayoutBox by 8 bytes, but reduces global map accesses and simplifies code. Here are data in top 10k sites collected on ct.skia.org: - % of LayoutBoxes that needed to save previousBorderBoxSize: 22.8% - % of LayoutBoxes that needed to save previousContentBoxRect because of box-sizing: 12.0% - % of LayoutBoxes that needed to save previousContentBoxRect or previousLayoutOverflowRect because of background: 0.36% CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2689213013 Cr-Commit-Position: refs/heads/master@{#451506} Committed: https://chromium.googlesource.com/chromium/src/+/2d744514083dfee8ea2bdde294738e3943a7a02e

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : - #

Patch Set 5 : Exclude the changes about contentBoxRect and layoutOverflowRect. Will follow-up instead #

Patch Set 6 : - #

Patch Set 7 : - #

Messages

Total messages: 43 (30 generated)
Xianzhu
3 years, 10 months ago (2017-02-17 22:31:12 UTC) #14
pdr.
I'm on-board with this change (LGTM as-is), but wanted to see what you think about ...
3 years, 10 months ago (2017-02-17 23:07:19 UTC) #15
Xianzhu
On 2017/02/17 23:07:19, pdr. wrote: > I'm on-board with this change (LGTM as-is), but wanted ...
3 years, 10 months ago (2017-02-18 00:03:21 UTC) #18
pdr.
On 2017/02/18 at 00:03:21, wangxianzhu wrote: > On 2017/02/17 23:07:19, pdr. wrote: > > I'm ...
3 years, 10 months ago (2017-02-18 00:10:35 UTC) #19
Xianzhu
On 2017/02/18 00:10:35, pdr. wrote: > On 2017/02/18 at 00:03:21, wangxianzhu wrote: > > On ...
3 years, 10 months ago (2017-02-18 00:24:25 UTC) #20
Xianzhu
I would like to land this patch as-is, and follow-up: 1. Revert the change about ...
3 years, 10 months ago (2017-02-18 00:31:10 UTC) #21
pdr.
On 2017/02/18 at 00:31:11, wangxianzhu wrote: > I would like to land this patch as-is, ...
3 years, 10 months ago (2017-02-18 04:05:17 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/2689213013/80001
3 years, 10 months ago (2017-02-18 18:27:50 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2896)
3 years, 10 months ago (2017-02-18 19:15:51 UTC) #32
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/2689213013/100001
3 years, 10 months ago (2017-02-18 23:20:55 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/385688)
3 years, 10 months ago (2017-02-19 01:04:00 UTC) #37
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/2689213013/120001
3 years, 10 months ago (2017-02-19 01:15:10 UTC) #40
commit-bot: I haz the power
3 years, 10 months ago (2017-02-19 02:56:32 UTC) #43
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/2d744514083dfee8ea2bdde29473...

Powered by Google App Engine
This is Rietveld 408576698