Bug 186713
Summary: | MediaQuery wastes 335K of vector capacity on theverge.com | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | CSS | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/41176917>
Chris Dumez
Fixed by bug 186696 ?
Simon Fraser (smfr)
Yes, I think so.
*** This bug has been marked as a duplicate of bug 186696 ***