Open Bug 1943848 Opened 21 days ago Updated 20 days ago

Testcase generating 150K custome elements (with Shadow DOM)

Categories

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

enhancement

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

Details

Attachments

(2 files)

Open attached testcase
Enter 5000. Click generate

Nightly: https://share.firefox.dev/4hy2WPp (45s)
Chrome: https://share.firefox.dev/42vkfMN (10s)

I suspect that the large time in Nightly is all in reflow for this testcase, and not necessarily generating custom elements.

Testcase was generated using chatpgpt.

That's just because we're extending <video> and <audio>, would be better to ignore those because of bug 1943629. With those removed it's probably better

Same testcase as above, without audio and video.

150000 elements
Nightly: https://share.firefox.dev/4jy227t (16s)
Chrome: Couldnt capture profile

Reload: https://share.firefox.dev/40LYgjz
Delete elements: https://share.firefox.dev/42tu8dS

Summary: Testcase generating 150K custome elements (with Shadow DOM) is 4.5x slower in Nightly → Testcase generating 150K custome elements (with Shadow DOM)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: