Closed Bug 2072550 Opened 2 months ago Closed 2 months ago

3195.44 - 6.28% media-capabilities first-query-cold + 34 more (Linux, OSX, Windows) regression on Thu September 10 2026

Categories

(Core :: Audio/Video, defect)

defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox156 --- unaffected
firefox157 --- unaffected
firefox158 --- affected

People

(Reporter: performance-sheriff-bot, Unassigned)

References

(Regression)

Details

(Keywords: perf, perf-alert, regression)

Perfherder has detected a browsertime performance regression from push 16e2a9e93cf1aa7d290c13052db1bac9154ba361. As author of one of the patches included in that push, we need your help to address this regression.

Please acknowledge, and begin investigating this alert within 3 business days, or the patch(es) may be backed out in accordance with our regression policy.

Regression Test Platform Options Absolute values [old vs new] Performance Profiles
3195% media-capabilities first-query-cold (doc) windows11-64-24h2-shippable fission webrender 1.75 -> 57.79 Before/After
157% media-capabilities decode-webrtc-video-vp9-hot (doc) linux2404-64-shippable fission webrender 0.14 -> 0.35 Before/After
123% media-capabilities decode-file-audio-aac-hot (doc) windows11-64-24h2-shippable fission webrender 0.01 -> 0.03 Before/After
121% media-capabilities decode-webrtc-video-h264-hot (doc) windows11-64-24h2-shippable fission webrender 0.02 -> 0.04 Before/After
113% media-capabilities decode-webrtc-video-vp9-cold (doc) linux2404-64-shippable fission webrender 0.17 -> 0.36 Before/After
102% media-capabilities decode-webrtc-video-vp9-cold (doc) windows11-64-24h2-shippable fission webrender 0.02 -> 0.03 Before/After
98% media-capabilities encode-webrtc-video-h264-hot (doc) windows11-64-24h2-shippable fission webrender 0.02 -> 0.04 Before/After
90% media-capabilities decode-webrtc-video-av1-cold (doc) windows11-64-24h2-shippable fission webrender 0.02 -> 0.03 Before/After
69% media-capabilities decode-webrtc-video-vp8-cold (doc) windows11-64-24h2-shippable fission webrender 0.08 -> 0.13 Before/After
68% media-capabilities decode-webrtc-video-av1-cold (doc) macosx1470-64-shippable fission webrender 0.03 -> 0.06 Before/After
... ... ... ... ... ...
22% media-capabilities encode-webrtc-audio-pcmu-cold (doc) windows11-64-24h2-shippable fission webrender 0.01 -> 0.02 Before/After
18% media-capabilities worker-encode-webrtc-video-h264-cold (doc) macosx1470-64-shippable fission webrender 0.05 -> 0.06 Before/After
18% media-capabilities encode-webrtc-audio-g722-cold (doc) windows11-64-24h2-shippable fission webrender 0.01 -> 0.02 Before/After
16% media-capabilities encode-webrtc-audio-opus-cold (doc) windows11-64-24h2-shippable fission webrender 0.02 -> 0.02 Before/After
6% media-capabilities first-query-cold (doc) linux2404-64-shippable fission webrender 8.51 -> 9.05 Before/After
Improvements Test Platform Options Absolute values [old vs new] Performance Profiles
98% media-capabilities decode-file-video-hevc-cold (doc) windows11-64-24h2-shippable fission webrender 2.54 ms -> 0.06 ms Before/After
91% media-capabilities decode-file-video-hevc-hot (doc) windows11-64-24h2-shippable fission webrender 0.06 ms -> 0.01 ms Before/After
26% media-capabilities decode-media-source-audio-mp3-hot (doc) macosx1470-64-shippable fission webrender 0.04 ms -> 0.03 ms Before/After
26% media-capabilities decode-file-audio-aac-cold (doc) macosx1470-64-shippable fission webrender 0.06 ms -> 0.04 ms Before/After
25% media-capabilities decode-media-source-audio-mp3-cold (doc) macosx1470-64-shippable fission webrender 0.04 ms -> 0.03 ms Before/After
... ... ... ... ... ...
14% media-capabilities encode-webrtc-video-h264-cold (doc) linux2404-64-shippable fission webrender 23.09 ms -> 19.86 ms Before/After

Support & Actionable Steps

For questions, please contact fbilt@mozilla.com. You can also find help on Slack (#perf-help) or Matrix (#perftest).

Action guide details:

Flags: needinfo?(apehrson)

Set release status flags based on info from the regressing bug 2044636

Thanks. This is expected.

The regressor introduced a wait, only for webrtc media-capabilities requests, for the remote decoder process to start before probing the cached per-codec data. When the remote process had already updated the cached data we still crank the event loop a bit more than before, which is why the small regressions show up. The first-query ones are significant because we used to default to some sane-ish default values, whereas we now wait for real values from the remote process, and starting the remote process is the slowest bit.

Non-webrtc differences are, essentially, flukes. Note the file and media-source requests already depended on remote processes, so it may well be that waiting for the remote process to be fully started in the first-query-cold case (which is a webrtc request) cut the overall wait time for playback too, like in decode-file-video-hevc-cold.

Status: NEW → RESOLVED
Closed: 2 months ago
Flags: needinfo?(apehrson)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.