[Webkit-unassigned] [Bug 251699] New: FormattingState::m_outOfFlowBoxes wastes a lot of vector capacity
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 3 10:26:32 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251699
Bug ID: 251699
Summary: FormattingState::m_outOfFlowBoxes wastes a lot of
vector capacity
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Using the patch in bug 186698, and testing on a wikipedia page, we see that EventListenerMap::m_entries is the second-most wasteful site for vector capacity:
Wasted capacity: 1293768 bytes (used 321640 of 1615408 bytes, utilization: 19.91%) - 219 allocations
1 0x11045bc0f WebCore::Layout::InlineFormattingState::InlineFormattingState(WebCore::Layout::LayoutState&)
2 0x11043d1fa WebCore::Layout::LayoutState::ensureInlineFormattingState(WebCore::Layout::ElementBox const&)
Wasted capacity: 27456 bytes (used 2112 of 29568 bytes, utilization: 7.14%) - 219 allocations
1 0x11044c8b9 WebCore::Layout::BlockFormattingState::BlockFormattingState(WebCore::Layout::LayoutState&, WebCore::Layout::ElementBox const&)
2 0x11043d41f WebCore::Layout::LayoutState::ensureBlockFormattingState(WebCore::Layout::ElementBox const&)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230203/7329b14d/attachment-0001.htm>
More information about the webkit-unassigned
mailing list