Smartly throttle svg rendering in web audio context graph



4 years ago
6 months ago


(Reporter: jsantell, Unassigned)


37 Branch
Mac OS X

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [polish-backlog])

Currently a debounce is used -- waiting for draw() calls to stop and waiting 200ms to render. If a constant stream of events are occurring, this will never render.

In bug 1141261, throttling is used due to longer "load" time to process all the events, causing a large delay on complex demos before rendering anything at all, but however this fixes the issue of drawing ATLEAST X ms if draw() is repetitively called.

We should be smart about this with the queue in bug 1141261 -- if there are 1000 events queued up, process 500 of them before drawing so something's rendered. Then process the next 250 or so then render, etc.
Depends on: 1141261
Blocks: 1134046
No longer blocks: 1134046
Assignee: nobody → jsantell
Whiteboard: [devedition-40]
Priority: -- → P2
Whiteboard: [devedition-40] → [polish-backlog]
Unassigning myself from bugs I won't be able to get to due to other commitments.
Assignee: jsantell → nobody
No longer blocks: 1216762


6 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.