Closed Bug 1951071 Opened 25 days ago Closed 25 days ago

Testcase generating N VTTs is 3222x slower for N=500 and infinitely slower for N=5000

Categories

(Core :: Audio/Video: Playback, defect)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mayankleoboy1, Unassigned)

References

Details

Attachments

(2 files)

Attached file VTT.html

Open attached testcase
Enter 500 (5000 if you are brave)

N=500
Nightly: https://share.firefox.dev/4ifhN1J (29s)
Chrome: https://share.firefox.dev/3QC9sJx (9ms)

N=5000
Nightly: iloop. I think i waited for maybe 10 minutes before quitting.
Chrome: https://share.firefox.dev/3FaSvU3 (174ms)

Testcase created by ChatgPT on my prompt. Very unrealistic, but maybe it highlights some hotspots?

Attached file about:support

Incomplete 3.35 minute long profile for N=5000: https://share.firefox.dev/4h1hFC6

If you comment out this line, the testcase is very fast

video.appendChild(track);

Yeah that's true, but I don't think you'd add 500 subtitle tracks to your video so that's not much of a priority.

Thanks Paul. I will close as WONTFIX. Plenty other more realistic bugs exist.

Status: NEW → RESOLVED
Closed: 25 days ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: