Bug 97987 - Split EventTargetData out of NodeRareData to reduce memory use.
Summary: Split EventTargetData out of NodeRareData to reduce memory use.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-09-30 16:05 PDT by Andreas Kling
Modified: 2012-09-30 18:30 PDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (5.40 KB, patch)
2012-09-30 17:14 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.