DescriptionPut rare PaintLayer fields into PaintLayerRareData
Rare rates of the fields, based on top 10k sites
(See run 475 in http://ct.skia.org for details):
stackingNode 100.00%
ancestorDependentCompositingInputs 82.17%
clipper 36.25%
staticBlockPosition 11.00%
staticInlinePosition 7.49%
(The following fields are put into PaintLayerRareData)
potentialCompositingReasonsFromStyle 7.13%
(^this is likely to cover most of the following)
compositingReasons 5.77%
compositedLayerMapping 3.32%
subpixelAccumulation 2.86%
offsetForInFlowPosition 2.70%
grouppedMapping 2.35%
transform 2.02%
enclosingPaginationLayer 0.01%
reflectionInfo (count) 0.00%
blockSelectionGapsBounds 0.00%
AncestorDependentCompositingInputs fields:
clippedAbsoluteBoundingBox 69.73%
clippingContainer 46.57%
(The following fields are put into RareAncestorDependentCompositingInputs)
transformAncestor 6.14%
opacityAncestor 4.73%
ancestorScrollingLayer 4.26%
scrollParent 2.76%
nearestFixedPositionLayer 2.31%
filterAncestor 0.02%
Rare rate of a field is defined as: number of PaintLayers with the field
ever assigned non-default value / total number of PaintLayers.
This CL reduces sizeof(PaintLayer) from 344 bytes to 208 bytes on LP 64
systems.
BUG=581124
Committed: https://crrev.com/299d5beba4af85652d96a2b2da1733ebcdec2c5e
Cr-Commit-Position: refs/heads/master@{#372141}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : Rebaser #Patch Set 7 : #
Total comments: 4
Patch Set 8 : #Patch Set 9 : Rebase #
Total comments: 6
Patch Set 10 : #Messages
Total messages: 26 (10 generated)
|