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

Issue 2492073002: Store paint properties directly on LayoutObject (Closed)

Created:
4 years, 1 month ago by pdr.
Modified:
4 years, 1 month ago
Reviewers:
chrishtr, xianzhanzhu
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store paint properties directly on LayoutObject This patch removes the temporary map that was used to avoid changing the size of LayoutObject. This is in preparation for launching property trees. On profiles, the paint property map lookup is the hottest function when running the paint-offset-change benchmark. On blink.perf, this patch is a large improvement on all benchmarks[1]: color-changes.html: -3.78% large-table-background-change-with-invisible-collapsed-borders.html: -30.77% large-table-background-change-with-visible-collapsed-borders.html: 0% large-table-collapsed-border-change.html: -8.61% large-table-collapsed-border-change-with-backgrounds.html: -10.09% large-table-collapsed-border-change-with-text.html: -13.9% large-table-repaint.html: -14.28% paint-offset-changes.html: -5.05% transform-changes.html: -1.62% [1] tools/perf/run_benchmark blink_perf.paint --browser=content-shell-release --pageset-repeat=3 --extra-browser-args=--enable-slimming-paint-v2 BUG=645667 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/3a5ab90f66206a967a646707dbdacb92b57bccc5 Cr-Commit-Position: refs/heads/master@{#431643}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -18 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 4 chunks +5 lines, -18 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
pdr.
4 years, 1 month ago (2016-11-10 23:55:27 UTC) #3
chrishtr
lgtm
4 years, 1 month ago (2016-11-11 00:37:20 UTC) #7
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/2492073002/20001
4 years, 1 month ago (2016-11-11 19:12:24 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/302478)
4 years, 1 month ago (2016-11-11 19:20:41 UTC) #17
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/2492073002/40001
4 years, 1 month ago (2016-11-11 19:22:34 UTC) #20
pdr.
I gave Emil a heads-up about this change. I will keep an eye on the ...
4 years, 1 month ago (2016-11-11 19:30:40 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-11 21:11:40 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 21:14:27 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3a5ab90f66206a967a646707dbdacb92b57bccc5
Cr-Commit-Position: refs/heads/master@{#431643}

Powered by Google App Engine
This is Rietveld 408576698