Bug 224316

Summary: DrawGlyph display items waste a lot of memory.
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, mmaxfield, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2021-04-07 20:53:58 PDT
On YouTube.com:

Total capacity: 324976 bytes (used 233376, wasted 91600), utilization: 71.81%) - 1004 allocations, entry size 16 bytes
1   0x1113968cf WTF::Vector<CGSize, 16ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>::Vector(WTF::Vector<CGSize, 16ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&)
2   0x1113981e7 WebCore::DisplayList::ItemHandle::safeCopy(WebCore::DisplayList::ItemHandle) const
3   0x1113a3bd8 WebCore::DisplayList::InMemoryDisplayList::WritingClient::encodeItemInline(WebCore::DisplayList::ItemHandle, unsigned char*) const
4   0x1113994fe WebCore::DisplayList::ItemBuffer::append(WebCore::DisplayList::ItemHandle)
Comment 1 Radar WebKit Bug Importer 2021-04-14 20:54:13 PDT
<rdar://problem/76682675>