This repository has been archived on 2024-06-08. You can view files and clone it, but cannot push or open issues or pull requests.
tachiyomi/macrobenchmark
2022-12-21 22:48:39 -05:00
..
src/main Update baseline profile 2022-12-21 22:48:39 -05:00
.gitignore Setup Baseline Profile (#8135) 2022-10-04 09:22:55 -04:00
build.gradle.kts Setup Baseline Profile (#8135) 2022-10-04 09:22:55 -04:00
README.md Setup Baseline Profile (#8135) 2022-10-04 09:22:55 -04:00

Baseline profiles

The baseline profile for this app is located at app/src/main/baseline-prof.txt. It contains rules that enable AOT compilation of the critical user path taken during app launch. For more information on baseline profiles, read this document.

Note: The baseline profile needs to be re-generated for release builds that touch code which changes app startup.

To generate the baseline profile, select the devBenchmark build variant and run the BaselineProfileGenerator benchmark test on an AOSP Android Emulator. Then copy the resulting baseline profile from the emulator to app/src/main/baseline-prof.txt.