The syntax for these rules is a superset of the human-readable ART profileįormat (HRF) when using adb shell profman -dump-classes-and-methods.
Matching methods or classes in the app or library that needs to be optimized. The same folder that contains the AndroidManifest.xml file. You can define profile rules manually in an app or a library module by creatingĪ file called baseline-prof.txt located in the src/main directory.
Manually create and measure profile rules in your app. Manual effort and increase general scalability.
We highly recommend automating generation of profile rules using the Jetpack