Closed Bug 1724997 Opened 3 years ago Closed 3 years ago

Add tracing markers for more MediaTrackGraph events

Categories

(Core :: Web Audio, defect, P1)

defect

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: padenot, Assigned: padenot)

Details

Attachments

(11 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

And fix a few things

Summary: Add tracing markers for more Web Audio API events → Add tracing markers for more MediaTrackGraph events

Depends on D122735

It would be nice to be able to auto-generate a string, but on Windows we only
have a very long name with all the qualifiers, and it's unreadable in practice
in the marker view.

This allows having names that are more human friendly and shorter. Generally
it's going to be the name of the function though.

Depends on D122736

This is going to be used to distinguish markers: different instances of the same
class, an AudioWorklet's name, etc.

Depends on D122737

This is a lot better, but not as good as it could be. For example, I see that creating the first global in SpiderMonkey is very long, and I haven't added callbacks for this.

It's not that problematic, because it's long enough that one can select the range and use the sampling view, it's quite obvious what's going on at this point.

I think there are lots of things that could be added in the profiler front-end, starting with colors.

Severity: -- → S2
Priority: -- → P1
Pushed by padenot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/968bb6b70d73
Remove old macros that are unused. r=pehrsons
https://hg.mozilla.org/integration/autoland/rev/3adc3ebdf729
Add markers in AudioWorklet related methods. r=karlt
https://hg.mozilla.org/integration/autoland/rev/c9e0cc718575
Add callbacks for the start and end of addModule on a Worklet.  r=karlt
https://hg.mozilla.org/integration/autoland/rev/246312ec9d0a
Add profiler markers on AudioWorklet.addModule. r=karlt
https://hg.mozilla.org/integration/autoland/rev/d5d730aaec6e
Fix a typo in a constant's name. r=pehrsons
https://hg.mozilla.org/integration/autoland/rev/ae80e44abdb2
Manually choose a tag for tracing markers. r=pehrsons
https://hg.mozilla.org/integration/autoland/rev/4232edec5ee3
Support a comment in the AsyncLogger. r=pehrsons
https://hg.mozilla.org/integration/autoland/rev/7d2303291f0b
Add tracing markers for more MediaTrackGraph events. r=pehrsons
https://hg.mozilla.org/integration/autoland/rev/27c694e46959
Put the AudioWorkletProcessor's name in the marker when calling its process method. r=karlt
https://hg.mozilla.org/integration/autoland/rev/b9f066e2f120
Remove the supporting code for using the async logger with MOZ_LOG. r=pehrsons
https://hg.mozilla.org/integration/autoland/rev/4462238d173a
Add a marker for AudioStream underruns. r=pehrsons
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: