unswitch loop over AudioParam values for a single event
Categories
(Core :: Web Audio, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: karlt, Assigned: karlt)
References
Details
Attachments
(3 files)
From bug 1184057 comment 1:
We should determine, in the 128 ticks block, the boundaries for which to compute which event, and then compute the actual values in one pass after
Assignee | ||
Comment 1•1 year ago
•
|
||
Unswitching the loop over AudioParam values for a single event improves performance by 24 - 30% on Granular synthesis, 17 - 28% on Substractive synth, 12 - 16% on Periodic Wave with Automation, and 5 - 16% on Stereo Panning with Automation. Those results do not include changes for bug 1171441, but some of those improvements would also be provided by fixing that bug. i.e. Not all of these benchmark improvements are additional to those from fixing bug 1171441, but unswitching the loops also helps with bug 1851755, and these results show that unswitching makes a big difference on some workloads.
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
The differences in biquad-automation.html results are because
v1 - v0 is now calculated in double precision.
Depends on D189100
Assignee | ||
Comment 5•1 year ago
|
||
Comment 7•1 year ago
|
||
bugherder |
Comment 9•1 year ago
|
||
bugherder |
Comment 10•1 year ago
|
||
bugherder |
Description
•