Closed Bug 2013750 Opened 21 days ago Closed 1 day ago

Testcase creating N empty textnodes and then appending them in bulk is 60x slower in Firefox

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: mayankleoboy1, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This is the "batched" version of bug 2013749

Open testcase
Click on Go

Firefox: https://share.firefox.dev/4t9dmM2 (3s)
Chrome: https://share.firefox.dev/4aq6GSr (50ms)

Testcase seems to hit different codepaths compared to bug 2013749, hence i filed it separately. Though the profile seems to indicate that the MutationObserver is still heavy.

That MutationObserver is just the notification mechanism. Layout or stylo do something slow.

Component: DOM: Core & HTML → Layout

The severity field is not set for this bug.
:boris, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(boris.chiou)
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Flags: needinfo?(boris.chiou)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: