Bug 186710

Summary: AutoTableLayout wastes 52KB of Vector capacity on nytimes.com
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Simon Fraser (smfr) 2018-06-15 15:15:04 PDT
Tooling in bug 186698

Wasted capacity: 51960 bytes (used 17320 of 69280 bytes, utilization: 25.00%) - 433 allocations
1   0x108567241 WTF::VectorBuffer<WebCore::AutoTableLayout::Layout, 4ul>::VectorBuffer()
2   0x108567205 WTF::Vector<WebCore::AutoTableLayout::Layout, 4ul, WTF::CrashOnOverflow, 16ul>::Vector()
3   0x108557c95 WTF::Vector<WebCore::AutoTableLayout::Layout, 4ul, WTF::CrashOnOverflow, 16ul>::Vector()
4   0x108557c05 WebCore::AutoTableLayout::AutoTableLayout(WebCore::RenderTable*)
5   0x108557cdd WebCore::AutoTableLayout::AutoTableLayout(WebCore::RenderTable*)
6   0x1088630af WebCore::RenderTable::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*)
7   0x1086d6d74 WebCore::RenderElement::initializeStyle()
8   0x108ab4954 WebCore::RenderTreeUpdater::createRenderer(WebCore::Element&, WebCore::RenderStyle&&)
Comment 1 Radar WebKit Bug Importer 2018-06-15 15:15:27 PDT
<rdar://problem/41173948>
Comment 2 Simon Fraser (smfr) 2018-06-24 23:23:29 PDT
Created attachment 343486 [details]
Patch
Comment 3 WebKit Commit Bot 2018-06-25 08:57:17 PDT
Comment on attachment 343486 [details]
Patch

Clearing flags on attachment: 343486

Committed r233148: <https://trac.webkit.org/changeset/233148>
Comment 4 WebKit Commit Bot 2018-06-25 08:57:19 PDT
All reviewed patches have been landed.  Closing bug.