Closed Bug 1602018 Opened 6 years ago Closed 5 years ago

Fission content process startup is slowing down pageload

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Performance Impact high
Fission Milestone M7

People

(Reporter: jesup, Unassigned)

References

(Depends on 2 open bugs, )

Details

(Keywords: perf:pageload, Whiteboard: [fission])

Comparing google docs performance in the tp6 testcase (live, not recorded) on a high-end linux box, I see a few hundred ms total lost before NavigationStart. e10s: https://perfht.ml/34WI2Vt fission: https://perfht.ml/2OVXKKL

At the very start, I see time in ConstructBrowser(), mostly in nsXPLookAndFeel::GetColorImpl() (~15ms), and time used loading a bunch of internal scripts: WebNavigationContent.js/FormAutoFillFrameScript.js/browser-content.js/tab-content.js/content-sessionStore.js; and running SessionStore::restoreHistory and restoreTabContent. This probably is in total less than 50ms; more like 30 perhaps. https://perfht.ml/2YmZfVy

Some of this may be mitigated by better prestarting/warming of content processes

Fission Milestone: --- → M7

looking at https://imgur.com/gallery/m5tYJL6, which shows 40-60% regressions on *speedindex:
non-fission: https://perfht.ml/2LSfaGz
fission: https://perfht.ml/2LEB1km

This is zoomed in on the start of navigation. Note that I'm starting at "keydown", which is is when I hit return on the URL. Also note that there's a 1 second delay from then until the content process starts (and then some delay in the new process). Note also that PageLoad starts in 20ms after keydown in non-fission, while it takes 1.1 seconds from keydown to "start" pageload...

Whiteboard: [qf][fission] → [qf:p1:pageload][fission]
Depends on: 1602757
Fission Milestone: M7 → M6
Priority: -- → P3
Depends on: 1603578
Depends on: 1623100

Jesup, what we should do with this bug? Is this a meta bug?

Flags: needinfo?(rjesup)

Is this bug still a problem now that Jesup has landed content process preallocation? Some blocking bugs are still open, scheduled for Fission M7 and Future.

Fission Milestone: M6 → M7
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(rjesup)
Resolution: --- → FIXED
Performance Impact: --- → P1
Keywords: perf:pageload
Whiteboard: [qf:p1:pageload][fission] → [fission]
You need to log in before you can comment on or make changes to this bug.