Open Bug 1107550 Opened 10 years ago Updated 2 years ago

Lazily unlink nsDocument

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

In a page close CC of the HTML5 spec, running unlink on the nsDocument takes a lot of time, because it isn't using the lazy content blaster.
On a TechCrunch page close CC, unlinking the document takes 1.4ms according to my measurements.
(In reply to Andrew McCreight [:mccr8] (away-ish Dec 17-26) from comment #1) > On a TechCrunch page close CC, unlinking the document takes 1.4ms according > to my measurements. The time is almost entirely spent unlinking the mChildren nsAttrAndChildArray, so if we could just unlink those incrementally that should solve this problem.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.