Bug 104938

Summary: Event dispatch: Avoid heap allocations in ensureEventAncestors() typical case.
Product: WebKit Reporter: Andreas Kling <kling>
Component: UI EventsAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: ojan.autocc, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Cowboy patch none

Andreas Kling
Reported 2012-12-13 12:22:22 PST
There's a lot of heap thrashing below ensureEventAncestors() during event dispatch due to Vectors with zero inline capacity.
Attachments
Cowboy patch (5.20 KB, patch)
2012-12-13 15:49 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 2012-12-13 15:49:34 PST
Created attachment 179359 [details] Cowboy patch
WebKit Review Bot
Comment 2 2012-12-13 16:21:26 PST
Comment on attachment 179359 [details] Cowboy patch Clearing flags on attachment: 179359 Committed r137680: <http://trac.webkit.org/changeset/137680>
WebKit Review Bot
Comment 3 2012-12-13 16:21:29 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.