Skip to content
Commitwise
Menu

Baseline profile

A list shipped with an Android app of the classes and methods used at startup and in key screens, so they are compiled ahead of time on install.

Definition

Without it, much of an app's code runs in the interpreter or JIT after install until the system compiles it in the background, which can take days. Baseline profiles are generated by running startup and critical user journeys with Macrobenchmark's BaselineProfileRule, and applied by Play at install time or by ProfileInstaller for sideloaded builds. Google reports typical first-launch improvements of around 30%.

In practice

The profile covers app startup and the first scroll of the product list, so both are fast right after an update.

Related terms

Esc

Type to search the whole site.