summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
authorwangxianzhu <wangxianzhu@chromium.org>2016-01-28 11:36:25 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-28 19:38:32 +0000
commit299d5beba4af85652d96a2b2da1733ebcdec2c5e (patch)
treee448aa233d3445a16fbae7c7e5abf6ac31ec0de1 /extensions/common
parent364981e00bc0a6b1a0dfa9dfe8b42821c3e5a5f8 (diff)
downloadchromium_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