[Webkit-unassigned] [Bug 106586] NodeRareData and NodeListsNodeData are never deleted until Node is deleted even if they're no longer used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 24 20:44:08 PST 2013


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





--- Comment #8 from Ryosuke Niwa <rniwa at webkit.org>  2013-01-24 20:46:02 PST ---
(In reply to comment #7)
> It appears that once you have rare data childNodes is noticeably faster, so dropping rare data when the last node list goes away will probably make repeated traversals of the DOM through childNodes slower. I also question the perf impact from adding all of these subobjects into rare data, or dropping them, since it means lots more little allocations.

Of course, it'll make things slower because it's a trade off between CPU and memory usage. But did you see any perf. regressions from https://bugs.webkit.org/show_bug.cgi?id=107074 ? If not, I highly doubt that deleting one more object will have a significant perf. impact. And 3% memory use reduction is quite significant.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list