4 ms·
yep, so the goal should be to compile everything down to light binary images the first time, and not require mobile devices work it all out at runtime.
by juststeve 6y ago
yep, so the goal should be to compile everything down to light binary images the first time, and not require mobile devices work it all out at runtime.
- pjmlp 6y agoModern Android versions have multiple tiers. Interpreter written in Assembly for fast startup, if the application was never executed. Followed by JIT compilation to native code and when the device is idle, the PGO data collected by the JIT is used to produce a binary for direct native execution. As of Android 10 those PGO files are uploaded to the stores and then if a similar device installs the application, they will get the PGO data as well and thus achieve a relatively fast result for their initial compilation.