Android App Baseline Profile
3.5 | 2 Votes
What is a PROFM file?
If Android developers want to help their app run more efficiently, they can use Android Studio's Macrobenchmark tool to create a baseline profile for their app. This baseline profile typically includes app startup code and code used for common tasks. When a developer uploads their app's .AAB file to the Google Play Store, their app's baseline profile is uploaded as part of that package.
When an Android user downloads the app from the Google Play Store, they receive both the app's .APK file and its baseline profile, saved as a PROFM or .PROF file. During app installation, the Android Runtime performs ahead-of-time compilation on the code include in the app's baseline profile. This allows the app to perform the functions included in its baseline profile more quickly, because those functions do not have to be just-in-time compiled.
Common PROFM Filenames
Baseline.profm - The default name assigned to baseline profiles.
How to open a PROFM file
PROFM files are not meant to be opened. To learn more about PROFM files and how to use them, refer to Google's official documentation.