performance-samples
performance-samples copied to clipboard
Question about the difference in file size inside the aab depending on the location of the generated baseline-prof.txt file
-
In the case of creating
app-release.aabfrom the existing location of the sample baselineProfiles inrelease/generated/baselineProfilesbaseline.profsize is 5.9k -
In the case of creating
app-release.aabafter moving the same file tomain/generated/baselineProfilesbaseline.profsize is 4.8k -
In the case of automatically generating the baseline profile file with the following option settings and including it when creating the aab The size of baseline.prof is 4.8k, which is the same size as when the file is placed in the
main/generated/baselineProfilesdirectory.
baselineProfile {
variants {
release {
automaticGenerationDuringBuild = true
}
}
}
Even though it is the same baseline-prof.txt, the size of the converted baseline.prof inside the aab is different, with 5.9k for release and 4.8k for the case included in main. I am curious about the reason for this difference. And where should I put the generated baseline-prof.txt file to use in my service?