Closed Bug 1613070 Opened 6 years ago Closed 6 years ago

Add tracing markers to AudioWorklet code (real-time thread side)

Categories

(Core :: Web Audio, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: padenot, Assigned: padenot)

References

Details

Attachments

(1 file)

I've had this locally for some time, but I want people to be able to give me traces (now that Nightly is clearly usable for testing).

Two new trace points: the ProcessBlocksOnPorts method of the AudioWorkletEngine, and just around calling process, to be able to gauge overhead and catch any non-determinism (I think we'll be able to remove one of the two later).

Type: enhancement → task
Priority: -- → P2
Blocks: audioworklet

Moving the trace point for messages to the inner loop allow understanding what
pages are doing better, it is important to be able to characterize onmessage
calls.

Having two tracepoints under ProcessBlockOnPorts allows gauging the buffer
preparation overhead. vs just the page's processing code.

Assignee: nobody → padenot
Status: NEW → ASSIGNED
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/279fba56ed01 Add tracing markers to AudioWorklet code (real-time thread side). r=karlt
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: