Chromium Code Reviews
DescriptionOilpan: Introduce a dedicated heap for CSSValue and RenderObject
According to our object profiling in micro-benchmarks and real-world benchmarks (https://docs.google.com/a/google.com/spreadsheets/d/1EBYDfkvJ1aleIj0iSNmk0zEsq0AqVOsjEyI6XfOoLIU/edit#gid=562560234), the following objects are allocated very frequently.
- Node
- CSSValue
- RenderObject
- HTMLStackItem
- ElementRecord
Given the results, this CL introduces a dedicated heap for CSSValue and RenderObject. (Note: PartitionAlloc also has a dedicated heap for RenderObject.)
This improves various benchmarks a lot:
css/CSSPropertySetterGetter: +35%
css/ClassInvalidation: +32%
css/StyleSheetInsert: +21%
layout/floats-*: ~+20%
layout/large-table-with-*: ~+10%
BUG=420515
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184362
Patch Set 1 #
Messages
Total messages: 20 (7 generated)
|
|||||||||||||||||||