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

Issue 2883153002: Don't bother checking for paint properties for classes that never need them. (Closed)

Created:
3 years, 7 months ago by chrishtr
Modified:
3 years, 7 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't bother checking for paint properties for classes that never need them. In local testing, PerformanceTests/Paint/complex-content-slow-scroll.html improves by about 10%. BUG=718045 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2883153002 Cr-Commit-Position: refs/heads/master@{#471952} Committed: https://chromium.googlesource.com/chromium/src/+/b717e22b72275498d43183016392b2ae0a011b3e

Patch Set 1 #

Patch Set 2 : none #

Total comments: 6

Patch Set 3 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -3 lines) Patch
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 4 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
chrishtr
This shows a significant performance improvement in local testing.
3 years, 7 months ago (2017-05-15 21:21:50 UTC) #4
pdr.
https://codereview.chromium.org/2883153002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2883153002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode1211 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:1211: return object.IsBoxModelObject() || object.IsSVG(); Why is IsSVG() needed? https://codereview.chromium.org/2883153002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode1225 ...
3 years, 7 months ago (2017-05-15 21:32:45 UTC) #7
pdr.
On 2017/05/15 at 21:21:50, chrishtr wrote: > This shows a significant performance improvement in local ...
3 years, 7 months ago (2017-05-15 21:33:04 UTC) #8
chrishtr
On 2017/05/15 at 21:33:04, pdr wrote: > On 2017/05/15 at 21:21:50, chrishtr wrote: > > ...
3 years, 7 months ago (2017-05-15 21:34:02 UTC) #9
chrishtr
https://codereview.chromium.org/2883153002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2883153002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode1211 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:1211: return object.IsBoxModelObject() || object.IsSVG(); On 2017/05/15 at 21:32:45, pdr. ...
3 years, 7 months ago (2017-05-15 21:36:22 UTC) #10
pdr.
LGTM
3 years, 7 months ago (2017-05-15 21:39:41 UTC) #11
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/2883153002/40001
3 years, 7 months ago (2017-05-15 21:45:05 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 23:59:04 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b717e22b72275498d43183016392...

Powered by Google App Engine
This is Rietveld 408576698