[meta] Reduce overhead of creating a new window on GeckoView
Categories
(GeckoView :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: mstange, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: meta, Whiteboard: [geckoview:m75])
Here's a profile of loading google.com in a new tab in Fenix: https://perfht.ml/2OrKjSi
You can see a lot of activity in the parent process when the new tab is created. Accounting for profiling overhead, I'd estimate that creating a new geckoview.xhtml for each tab adds 200ms to 400ms to the first page load of a new tab.
In Firefox Desktop, all tabs in a browser window are managed by the same browser.xhtml.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Having 1 tab = 1 window is pretty central in GeckoView's design, so it's not something we can easily change. We can use this bug to reduce the overhead of creating a new window.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Not loading all the desktop custom elements should help (bug 1531455). Looks like we spend 200ms in that file and then trigger a bunch of notifications related to it.
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•4 years ago
|
||
Removing qf:p1 as meta bugs shouldn't have qf tags.
Comment 4•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•2 years ago
|
Description
•