diff options
author | wangxianzhu <wangxianzhu@chromium.org> | 2016-01-28 11:36:25 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-28 19:38:32 +0000 |
commit | 299d5beba4af85652d96a2b2da1733ebcdec2c5e (patch) | |
tree | e448aa233d3445a16fbae7c7e5abf6ac31ec0de1 /extensions/common | |
parent | 364981e00bc0a6b1a0dfa9dfe8b42821c3e5a5f8 (diff) | |
download | chromium_src-299d5beba4af85652d96a2b2da1733ebcdec2c5e.zip chromium_src-299d5beba4af85652d96a2b2da1733ebcdec2c5e.tar.gz chromium_src-299d5beba4af85652d96a2b2da1733ebcdec2c5e.tar.bz2 |
Put 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
Review URL: https://codereview.chromium.org/1636563003
Cr-Commit-Position: refs/heads/master@{#372141}
Diffstat (limited to 'extensions/common')
0 files changed, 0 insertions, 0 deletions