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

Description Andreas Kling 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.
Comment 1 Radar WebKit Bug Importer 2012-09-30 16:06:34 PDT
<rdar://problem/12403258>
Comment 2 Andreas Kling 2012-09-30 17:14:05 PDT
Created attachment 166393 [details]
Proposed patch
Comment 3 WebKit Review Bot 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>
Comment 4 WebKit Review Bot 2012-09-30 18:30:09 PDT
All reviewed patches have been landed.  Closing bug.