Closed Bug 1657651 Opened 4 years ago Closed 4 months ago

Loading issue when first launching Firefox 79

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Performance Impact medium

People

(Reporter: evilpie, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf:pageload, Whiteboard: dom-lws-bugdash-triage)

At least some of this might be DoH or Necko startup? Any thoughts, valentin?

Flags: needinfo?(valentin.gosu)

If it's ServiceWorkers, perhaps asuth would have thoughts on this too.

Flags: needinfo?(bugmail)

This post points to an incredible slow DNS response. So maybe two different issues.

Whiteboard: [qf]

(In reply to Mike Conley (:mconley) (:⚙️) from comment #1)

At least some of this might be DoH or Necko startup? Any thoughts, valentin?

Seems unlikely to be DoH. There's a 1.5 seconds timer in mode2 anyway, so it should actually block anything.
But without some logs/diagnostic info I can't say for sure if it's Necko related or not.

Flags: needinfo?(valentin.gosu)
See Also: → 1656310
Whiteboard: [qf] → [qf:p2:pageload:investigate]

bug 1656310 is assigned to :asuth, so clearing the stale needinfo here.

Flags: needinfo?(bugmail)

Kim, this needed a severity; it's not really clear to me if this is all covered by bug 1656310 and should be duped, or if there's stuff left to investigate here. You marked this p2 from qf - is someone on the perf team available to investigate / dig into this? I'm guessing not...

Severity: -- → S2
Flags: needinfo?(kmoir)

No we don't have anyone from the perf team to investigate at this time.

Severity: S2 → S3
Flags: needinfo?(kmoir)
Priority: -- → P3
Blocks: 1651304

In terms of long delay, ServiceWorkers depends on QuotaManager's initialization which can take some time, see the telemetry data at https://mzl.la/2TmoLbR

In terms of an infinite wait due to hung or aborted interception (but without triggering), some portion of the phenomenon was fixed by bug 1662925 and a different variant of the problem is being investigated in bug 1668743 with my direct work right now being on bug 1506892 to add instrumentation so we can figure out what's going on.

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

Component: General → DOM: Service Workers
Product: Firefox → Core
Performance Impact: --- → P2
Keywords: perf:pageload
Whiteboard: [qf:p2:pageload:investigate]

There have been plenty of fixes related to storage initialization etc. relatively recently.
Marking this WFM, but please file a new bug if you still see this happening.

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → WORKSFORME
Whiteboard: dom-lws-bugdash-triage
You need to log in before you can comment on or make changes to this bug.