Chromium Code Reviews
DescriptionOptimize the pre-paint tree walk and ClipRects.
1. Avoid malloc for ClipRects objects. This trades reduced malloc for
a somewhat larger PaintLayer.
2. Get rid of now-unnecessary logic to check clipping ancestors (GeomteryMapper
now checks for transforms on infininte rects instead).
3. ALWAYS_INLINE on some helper methods of PrePaintTreeWalk.
Local runs showed pre-paint time improvements in about:tracing for
Paint/containment-resize.html of up to 5%.
I am also running a CT analysis with and without SPInvalidation on to see effect
on paint times. Early data suggests no strong change either way. (though note that
this CL is mainly aimed at reducing time in pre-paint).
BUG=692614
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2784963002
Cr-Commit-Position: refs/heads/master@{#460808}
Committed: https://chromium.googlesource.com/chromium/src/+/65b5d60ab86950a42ade9f0aee9e5e67d8c3ff20
Patch Set 1 #Patch Set 2 : none #Patch Set 3 : none #
Total comments: 1
Messages
Total messages: 25 (18 generated)
|