Closed Bug 1548590 Opened 5 years ago Closed 2 years ago

Defer mozilla::widget::AudioSession::CommitAudioSessionData until later in startup

Categories

(Core :: Audio/Video, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1617283

People

(Reporter: florian, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxperf:p2])

Attachments

(1 file)

4.53 MB, application/x-7z-compressed
Details

See this profile: https://perfht.ml/2Wo2Sc0

The time is spent in the AUDIOSES.DLL library. Is it possible to do these calls off main thread? If not, can this be defered until a sound needs to be played?

Priority: -- → P2

In the attached profile, mozilla::widget::AudioSession::CommitAudioSessionData() is responsible for several DLL loads during startup including AudioSes.dll. We should see if we can defer this until later in startup.

Blocks: 1627071
Summary: nsresult mozilla::widget::AudioSession::CommitAudioSessionData janks the main thread during startup → Defer mozilla::widget::AudioSession::CommitAudioSessionData until later in startup
Whiteboard: [fxperf]
Whiteboard: [fxperf] → [fxperf:p2]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: