Closed Bug 1945382 Opened 10 days ago Closed 8 days ago

Testcase generating N "nested" stylesheets is 117x slower in Nightly for N=10000.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1931789

People

(Reporter: mayankleoboy1, Unassigned)

References

Details

Attachments

(2 files)

Two testcases. 10K input value.

No-Blob Testcase:

Blob Testcase:

Chrome also throws an error on loading the testcases
Uncaught ReferenceError: attachShadow is not defined at <anonymous>:1:1

Testcase created by chatgpt based on my prompts. Definitely not realistic. As usual, feel free to WONTFIX/INVALID.
Also, I am aware that the bug title is clickbait :P

(In reply to Mayank Bansal from comment #0)

Created attachment 9463371 [details]
nested stylesheet_no BLOB.HTML

Two testcases.

Open the "no-blob" testcase
Input 10k and press enter

Nightly: https://share.firefox.dev/4aPuFsT (53s)
Chrome: https://share.firefox.dev/4jJ9sVu (450ms)

Chrome also throws an error on loading the testcase
Uncaught ReferenceError: attachShadow is not defined at <anonymous>:1:1

Testcase created by chatgpt based on my prompts. Definitely not realistic. As usual, feel free to WONTFIX/INVALID.

ni? for this.

Flags: needinfo?(emilio)

I don't get the "nested" bit, this is just appending N stylesheets...

But, this is basically bug 1931789, aiui.

Status: NEW → RESOLVED
Closed: 8 days ago
Duplicate of bug: 1931789
Flags: needinfo?(emilio)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: