Testcase generating 150K custome elements (with Shadow DOM)
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug)
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.
Comment 1•1 year ago
|
||
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
| Reporter | ||
Comment 2•1 year ago
|
||
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
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 3•1 year ago
|
||
For the second testcase:
N=300000
Firefox: https://share.firefox.dev/44BvD9E (7s in DOM, 5s in Style, rest in layout)
Chrome: https://share.firefox.dev/44pHVBI
this bug focusses on DOM and maybe style perf. I think we are much better than Chrome here.
Closing this as WFM.
Description
•