Open Bug 1958702 Opened 16 days ago Updated 15 days ago

Testcase generating N Document() objects is 15x slower in Firefox (N=1500000)

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

Details

Attachments

(2 files)

Attached file Document.html

DOM
N=1500000

DomParser
N=150000

Summary: Testcase generating N Document() objects is 15x slower in Firefox (N=150000) → Testcase generating N Document() objects is 15x slower in Firefox (N=1500000)

Oh, the CC part isn't about CC, it is about mozilla::dom::DocGroup::RemoveDocument being very slow if there are lots of documents.

(In reply to Olli Pettay [:smaug][bugs@pettay.fi] from comment #2)

The creation part is dup of https://bugzilla.mozilla.org/show_bug.cgi?id=1844430

Is that for the first testcase (where we are much slower), or the second testcase (where we are faster)?

Both. I don't see the first case taking that much time in creation.

See Also: → 1844430
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: