Bug 97987

Summary: Split EventTargetData out of NodeRareData to reduce memory use.
Product: WebKit Reporter: Andreas Kling <kling>
Component: UI EventsAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch none

Andreas Kling
Reported 2012-09-30 16:05:58 PDT
When adding an event listener to a Node, we instantiate EventTargetData for that node. EventTargetData currently sits on NodeRareData, which we're then forced to instantiate as well. We can save ~1.1MB on the Membuster3 benchmark by splitting these apart.
Attachments
Proposed patch (5.40 KB, patch)
2012-09-30 17:14 PDT, Andreas Kling
no flags
Radar WebKit Bug Importer
Comment 1 2012-09-30 16:06:34 PDT
Andreas Kling
Comment 2 2012-09-30 17:14:05 PDT
Created attachment 166393 [details] Proposed patch
WebKit Review Bot
Comment 3 2012-09-30 18:30:06 PDT
Comment on attachment 166393 [details] Proposed patch Clearing flags on attachment: 166393 Committed r130000: <http://trac.webkit.org/changeset/130000>
WebKit Review Bot
Comment 4 2012-09-30 18:30:09 PDT
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.