Closed Bug 1617750 Opened 4 years ago Closed 4 years ago

Make hidden window lazy load for GeckoView

Categories

(GeckoView :: General, enhancement, P1)

Unspecified
All
enhancement

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: bdahl, Assigned: bdahl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

hiddenWindow.html is loading on startup of GeckoView and it doesn't appear to be needed during that time.

I did a quick run of timing from XRE_main to DOMContentLoaded of geckoview.xhtml on a Moto G. I then killed the app and re-ran 5 times. Not loading the hidden window save around 95-110ms.

Blocks: 1608826

GeckoView doesn't need the hidden window loaded eagerly on startup. This
shaves off around ~100ms timing from XRE_main to DOMContentLoaded of
geckoview.xhtml.

Priority: -- → P1
Pushed by bdahl@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d995b621e455
Lazy load hidden window for GeckoView. r=geckoview-reviewers,snorp
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Regressions: 1427140
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: