Closed Bug 1141638 Opened 5 years ago Closed 1 year ago

Smartly throttle svg rendering in web audio context graph

Categories

(DevTools Graveyard :: Web Audio Editor, defect, P2)

37 Branch
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jsantell, Unassigned)

References

Details

(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
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: dt-rtl
Product: Firefox → DevTools
The code behind DevTools:Web Audio Editor has gone away. Closing this bug as INVALID
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.