Open Bug 1870405 Opened 1 year ago Updated 2 months ago

Very slow time to first page load when opening Fenix with hundreds of tabs

Categories

(Firefox for Android :: Performance, defect, P5)

Firefox 120
All
Android
defect

Tracking

()

UNCONFIRMED
Performance Impact medium

People

(Reporter: matrixik, Unassigned)

Details

(Keywords: perf:pageload, perf:responsiveness, perf:startup)

Attachments

(1 file)

Steps to reproduce:

Have hundreds of tabs open (no idea how to get exact number, it's not displayed anywhere in Fenix and there is no option to select all).
Starting page is set to open last card.
Open Fenix for the first time (or swipe it away from Recents and then open again).

Pixel 4a, Android 13
Firefox version
120.1.1 (Build #2015990546), 287644eb76+
GV: 120.0.2-20231208211905
AS: 120.0.2

Actual results:

It's take 5-10 seconds before page is loaded.
The GUI itself is opening fast but then there is delay before loading page.
Going to other pages works fast after this first slow load.

Expected results:

No delay when cold starting Fenix.

Attached file troubleshooting.txt

Troubleshooting information

Forgot to mention: most cards are in the "Inactive tabs" section.

The severity field is not set for this bug.
:amejia, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(amejiamarmol)
Severity: -- → S4
Flags: needinfo?(amejiamarmol)
Priority: -- → P5

OK, debug drawer appeared in stable Firefox on Android and I can report that I have 631 inactive tabs and one active. Time to first load page is still very long.

Firefox is also killing other apps after some browsing (looks like there are memory leaks with this much inactive tabs?) and slow down my whole phone until I kill Firefox. No such problems on another phone with max only 20 tabs open.

Performance Impact: --- → ?

The Performance Impact Calculator has determined this bug's performance impact to be medium. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.

Platforms: Android
Impact on browser: Causes noticeable startup delay
Impact on site: Causes noticeable jank
Page load impact: Some

Performance Impact: ? → medium
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: