First page load is slower in Fenix when extensions are installed
Categories
(GeckoView :: Extensions, defect, P1)
Tracking
(Not tracked)
People
(Reporter: agi, Assigned: agi)
Details
(Whiteboard: [geckoview:m75])
Need to attach a profile, but I keep forgetting so I'm opening a bug at least.
:csadilek mentioned this to me and I've seen it too, the first pageload when ublock is enabled in Fenix is really slow, we should look at it and see what we can do about it.
Assignee | ||
Comment 1•6 years ago
|
||
Profiles:
No ublock: https://perfht.ml/2SZhjTf
With ublock: https://perfht.ml/2P5p6Ow
Assignee | ||
Comment 2•6 years ago
|
||
Looks like this is due uBlock using localStorage
in the background script at startup time which causes us to wait synchronously for disk before performing the first network request.
Comment 3•6 years ago
|
||
Can you add the IPDL Background
thread to your list of profiled threads, and also enable the ipcmessages
profiler feature? That might let us see what exactly is happening during that pause.
Comment 4•6 years ago
|
||
Oh, also the DOM File
thread which seems to be used here.
Assignee | ||
Comment 5•6 years ago
|
||
There you go! https://perfht.ml/2PblvOW
(let me know if there's anything else that can help there)
![]() |
||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
The performance fix has been resolved in uBlock 1.5.2, and I don't see any indication that we're actually slower than Fenix on this particular case, so I'm going to resolve this.
Updated•3 years ago
|
Description
•