Order the steps
Order the Baseline Profile workflow.
- Compare with Macrobenchmark
- Run the generator on an emulator or a device (rooted, or Android 13+)
- Write a journey: start the app, scroll the feed, open a detail
- Add the Baseline Profile Gradle plugin and a baselineprofile module
- Ship the release build with the profile
Choose an answer, then open Show answer below to check it.
Show answer
Answer: D C B E A
- Add the Baseline Profile Gradle plugin and a baselineprofile module Sets up generation.
- Write a journey: start the app, scroll the feed, open a detail Covers critical paths.
- Run the generator on an emulator or a device (rooted, or Android 13+) Produces baseline-prof.txt.
- Ship the release build with the profile ART compiles listed code at install.
- Compare with Macrobenchmark Confirm the gain.