Description[RAL] Reduce SVG tree walks
This is based on an earlier patch from <fs@opera.com>.
The performance regression mostly came from excessive tree walks
on SVG_SvgCubics (with only a tiny part of it came also from
extra invalidations).
This change re-introduces what
SVGRenderSupport::checkForSVGRepaintingDuringLayout was doing to
prevent invalidation by checking if your parent had a transform
change, except that we use it to avoid entire subtree walks.
On my Z620, this changes the results of SVG_SvgCubics as follows:
- RAL without patch: 16 ms (std: 0.5)
- RAL with patch: 8.8 ms (std: 0.4)
- Pre-RAL: 9.2 ms (std: 0.3)
BUG=381138
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175983
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebaselined patch #Patch Set 3 : Added svg/repaint/image-with-clip-path.svg to the rebaseline list #
Messages
Total messages: 17 (0 generated)
|