Testcase generating N sine waves spends infinite time in GraphRunner (and uses some time on parent-process and content-process)
Categories
(Core :: Web Audio, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
Details
Attachments
(3 files)
Open attached testcase
Enter 5000 or 50000
Press enter
Dont try this at home with Chrome, or you gonna have a bad time.
5000
- Nightly: https://share.firefox.dev/3Q1CWQW
- Chrome: LoL
50000
- Nightly: https://share.firefox.dev/3PXTsRM
- Chrome: You serious bro?
I noticed that the graphrunner thread continues to use CPU. Not sure if thats expected. Appears to be a defect, but what do i know.
Ni? from :padenot
Reporter | ||
Comment 1•15 days ago
|
||
Reporter | ||
Updated•15 days ago
|
Comment 2•13 days ago
|
||
Interesting testcase, creating a few thousand AudioContext
. Usually you'd create a single AudioContext
and a few thousand OscillatorNode
.
Because of our architecture, it works, but it's really strange code.
Reporter | ||
Comment 3•12 days ago
•
|
||
500K generating and playing
Nightly: , https://share.firefox.dev/40ZTnDC (50 second to geenrate, infinite time to play)
Chrome: better
500k generating and reloading: https://share.firefox.dev/3WJKv2z (60 second to generate, 75 seconds around cc)
100k
Chrome: https://share.firefox.dev/4aJHu7Y (3.6s)
Nightly: https://share.firefox.dev/3Eq24OU (2.1s)
200k Cleanup: https://share.firefox.dev/4gp8N94
Comment 4•12 days ago
|
||
We're spending the CPU as expected in those very heavy test cases, thanks for verifying it doesn't fall apart!
Closing as WORKSFORME.
Description
•