Bug 186711

Summary: MutableStyleProperties wastes 47KB of Vector capacity on nytimes.com
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: koivisto, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2018-06-15 15:15:43 PDT
Wasted capacity: 47136 bytes (used 47312 of 94448 bytes, utilization: 50.09%) - 1435 allocations
1   0x1074a9501 WTF::VectorBuffer<WebCore::CSSProperty, 4ul>::VectorBuffer()
2   0x1074a94c5 WTF::Vector<WebCore::CSSProperty, 4ul, WTF::CrashOnOverflow, 16ul>::Vector()
3   0x107478b95 WTF::Vector<WebCore::CSSProperty, 4ul, WTF::CrashOnOverflow, 16ul>::Vector()
4   0x107478ada WebCore::MutableStyleProperties::MutableStyleProperties(WebCore::CSSParserMode)
5   0x107478bbb WebCore::MutableStyleProperties::MutableStyleProperties(WebCore::CSSParserMode)
6   0x107482294 WebCore::MutableStyleProperties::create(WebCore::CSSParserMode)
7   0x1077b0dfc WebCore::StyledElement::rebuildPresentationAttributeStyle()
8   0x10741efa0 WebCore::StyledElement::presentationAttributeStyle() const
Comment 1 Radar WebKit Bug Importer 2018-06-15 15:16:23 PDT
<rdar://problem/41173980>