[meta] Introduce Zygote Preload as an Android Option
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: kaya, Unassigned)
References
(Depends on 7 open bugs, Blocks 2 open bugs)
Details
(Keywords: meta, Whiteboard: [fxdroid] [foundation][android-tab-reloading] )
A POC of Zygote Preload API has been implemented to prove the improvements on the resource consumption of Fenix as a part of Bug 1804868. Currently it is blocked by Bug 1565196. Once that meta is resolved, the POC will be merged into the codebase and Zygote Preload api will be shipped.
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Comment 2•1 year ago
|
||
Yes, i'll do that. It is one of the next items I'll deal with. Let me create a ticket for easier tracking.
| Reporter | ||
Updated•1 year ago
|
Comment 4•6 months ago
|
||
Turning this into a meta to better capture all of the pieces that will be involved for this to go through.
Updated•6 months ago
|
Updated•6 months ago
|
Comment 5•3 months ago
•
|
||
From the performance side, one thing I noticed is that, with the app zygote enabled, I sometimes see very slow app zygote startup where it does a full verification of the dex. It looks like this happens once an "app image" exists, i.e. after I run adb shell cmd package compile -m speed-profile org.mozilla.fenix. We should do more research on what exactly the trigger is and why it happens.
Fast app zygote startup: https://share.firefox.dev/3MHqEig
Slow app zygote startup, after compile -m speed-profile and all subsequent startups: https://share.firefox.dev/4pOeByn
Comment 6•3 months ago
|
||
(In reply to Markus Stange [:mstange] from comment #5)
Fast app zygote startup: https://share.firefox.dev/3MHqEig
Slow app zygote startup, aftercompile -m speed-profileand all subsequent startups: https://share.firefox.dev/4pOeByn
Generally, if *.oat file is gone or invalid, ART generates oat file like slow profile.
Description
•