DescriptionReduce PropertyTreeState construction and copies
- Cache ObjectPaintProperties::contentsProperties() so that we don't
create a new PropertyTreeState object on each call.
- Check necessity of GeometryMapper invocation before creating
localTreeState.
This will avoid many PropertyTreeState constructions and RefPtr
constructions/destructions which contributed about 6~8% of total
PrePaint time for paint-offset-changes.html. Try jobs showed that
this improved performance of the test by 1~8% on bots.
BUG=678597
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2621193006
Cr-Commit-Position: refs/heads/master@{#443632}
Committed: https://chromium.googlesource.com/chromium/src/+/fd01bedb5e520096733a05e9b92ee17d0ae8f848
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 15 (11 generated)
|