Open Bug 1404991 Opened 7 years ago Updated 2 years ago

Use atomics instead of stable state runnables.

Categories

(Core :: Audio/Video: MediaStreamGraph, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: padenot, Unassigned)

References

(Blocks 1 open bug)

Details

The traffic for this runnable is high, and we can’t make it lower by just sending less runnables, I’ve tried, and it’s a disaster for Web Audio API. We should check if we really need this timing info on the main thread (I don't think it's useful, it's only used for {AudioContext, HTMLMediaElement}.currentTime), and possibly use atomics for those frequent updates.
Those runnables are frequent, but are not very expensive.
Rank: 23
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.