Closed Bug 1682187 Opened 5 years ago Closed 4 years ago

Loading reddit after starting Firefox is delayed for a minute

Categories

(Core :: Performance: General, defect, P3)

Firefox 83
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: yoasif, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

From: https://www.reddit.com/r/firefox/comments/kbwrl7/first_reddit_load_after_starting_firefox_takes_1/

Basic information

I'll start firefox, reddit homepage won't load, navigating manually to any reddit URL just hangs on a white screen. After a minute or so, it loads and all subsequent page loads are quick.

If I see it happening, I can close firefox and re-open it and there's a 50/50 it happens again or works right away. This indicates to me some sort of load balancing taking me to a bad endpoint but I don't think it's DNS, at least not on the part of Windows as I've tried modifying my network adapter's DNS servers with no effect.

Steps to Reproduce:

Expected Results:

Actual Results:


More information

Profile URL: https://share.firefox.dev/34aoqPo

Basic systems configuration:

OS version: Windows 10

GPU model: NVIDIA GeForce GTX 1070

Number of cores: 6

Amount of memory (RAM): 16GB

Thanks so much for your help.

Attached file about:support

Hey Asif,

I looked at the profile. It's missing the content process, but from what I can glean from the Network pane, we're spending a long time waiting for the Reddit server to respond.

Do you get similar behaviour with other browsers on that machine on that network?

Flags: needinfo?(yoasif)

It might be related to service workers. In the profile, I can see https://www.reddit.com/sw.js loading just before the eventual "real" load to https://www.reddit.com/r/all/ happens. But something delays that request to https://www.reddit.com/sw.js.
I don't see any long-running "Extension Suspend" markers, so extensions don't seem to be at fault here.

Asuth, how can we narrow down what happens here?

Flags: needinfo?(bugmail)

The user in the reddit post said in their first post:

Chrome has no such behavior and works fine every time.

Flags: needinfo?(yoasif)
Severity: -- → S2
Priority: -- → P3

Do you think it would be possible to get more profiling here? Worker threads at least and the relevant child process

Flags: needinfo?(yoasif)

The user says that they no longer see this issue.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(yoasif)
Resolution: --- → WORKSFORME
Flags: needinfo?(bugmail)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: