Closed Bug 1662252 Opened 4 years ago Closed 3 years ago

eightsleep.com is much slower (7-10s) to paint in Firefox than Chrome (1-3s)

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME
Performance Impact high
Tracking Status
firefox80 --- affected
firefox81 --- affected
firefox82 --- affected

People

(Reporter: Gijs, Unassigned)

References

()

Details

(Keywords: perf:pageload)

Profile: https://share.firefox.dev/3hOxq1s

From a cursory look at least some of it seems to be media isTypeSupported calls tripping driver initialization in the content process which loads DLLs which is slow. But that alone doesn't seem to be all of it.

Whiteboard: [qf]

I'm not sure this is actually a perf issue; it might be more of a webcompat/tracking-protection issue.

The site has this CSS:

body {
[...]
    opacity: 0;

...and then they dynamically add opacity:1 at some point during pageload, via a GoogleTagManager snippet I think (?) based on skimming the very top of their view-source.

I think this may be a version of bug 1516552.

It's possible that the shimming work tracked in bug 1648863 will help here.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Audio/Video: Playback

(In reply to Daniel Holbert [:dholbert] from comment #1)

I'm not sure this is actually a perf issue; it might be more of a webcompat/tracking-protection issue.

(Actually: it's hard to say, but it looks like the opacity:1 tweak might happen pretty early on -- so that might be a bit of a red herring, and/or there might be both tracking-protection-issues as well as real perf issues going on here.)

On my Windows laptop, loading takes 4+ seconds in Firefox 80, 81, and 82 but only about 1 second in Chrome and Edge.

I don't think this related to tracking protection because the page load still takes 4+ seconds whether ETP is strict, standard, or disabled.

Flags: needinfo?(mstange.moz)
Whiteboard: [qf] → [qf:p1:pageload]
Blocks: media-triage

Hey Gjis, curious if you could re-generate? (based on comment 1) might be fixed.

Flags: needinfo?(gijskruitbosch+bugs)

Yeah, I can't reproduce this anymore.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mstange.moz)
Flags: needinfo?(gijskruitbosch+bugs)
Resolution: --- → WORKSFORME
Performance Impact: --- → P1
Keywords: perf:pageload
Whiteboard: [qf:p1:pageload]
You need to log in before you can comment on or make changes to this bug.