[Webkit-unassigned] [Bug 251697] EventListenerMap's m_entries vector wastes a lot of vector capacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 3 20:45:37 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251697

--- Comment #4 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Going to perf-test a patch that gets this down to:

Wasted capacity: 11400 bytes (used 6680 of 18080 bytes, utilization: 36.95%) - 1959 allocations
1   0x3343c9df7 WebCore::EventListenerMap::EventListenerMap()
2   0x334dc5218 WebCore::RenderObject::RenderObject(WebCore::Node&)
3   0x334d20f58 WebCore::RenderElement::RenderElement(WebCore::Element&, WebCore::RenderStyle&&, unsigned int)
4   0x334d9b561 WebCore::RenderLayerModelObject::RenderLayerModelObject(WebCore::Element&, WebCore::RenderStyle&&, unsigned int)
5   0x334cf0281 WebCore::RenderBoxModelObject::RenderBoxModelObject(WebCore::Element&, WebCore::RenderStyle&&, unsigned int)

-- 
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/20230204/cf36c099/attachment.htm>


More information about the webkit-unassigned mailing list