Bug 186713

Summary: MediaQuery wastes 335K of vector capacity on theverge.com
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2018-06-15 16:43:07 PDT
Wasted capacity: 335584 bytes (used 22816 of 358400 bytes, utilization: 6.37%) - 702 allocations 1 0x107440ce5 WTF::VectorBuffer<WebCore::MediaQueryExpression, 0ul>::VectorBuffer() 2 0x107440cb0 WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>::Vector(WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>&&) 3 0x107440c7d WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>::Vector(WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>&&) 4 0x107440c2f WebCore::MediaQuery::MediaQuery(WebCore::MediaQuery&&) 5 0x107440bcd WebCore::MediaQuery::MediaQuery(WebCore::MediaQuery&&) 6 0x107441355 void WTF::Vector<WebCore::MediaQuery, 0ul, WTF::CrashOnOverflow, 16ul>::appendSlowCase<WebCore::MediaQuery>(WebCore::MediaQuery&&) 7 0x1074411f0 void WTF::Vector<WebCore::MediaQuery, 0ul, WTF::CrashOnOverflow, 16ul>::append<WebCore::MediaQuery>(WebCore::MediaQuery&&) 8 0x107428ed5 WTF::Vector<WebCore::MediaQuery, 0ul, WTF::CrashOnOverflow, 16ul>::append(WebCore::MediaQuery&&) via m_expressions. Could also re-order members for better packing.
Attachments
Radar WebKit Bug Importer
Comment 1 2018-06-15 16:43:36 PDT
Chris Dumez
Comment 2 2018-06-16 13:34:52 PDT
Fixed by bug 186696 ?
Simon Fraser (smfr)
Comment 3 2018-06-16 16:47:45 PDT
Yes, I think so. *** This bug has been marked as a duplicate of bug 186696 ***
Note You need to log in before you can comment on or make changes to this bug.