performance-samples icon indicating copy to clipboard operation
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

Open Veronikapj opened this issue 1 year ago • 0 comments

  1. In the case of creating app-release.aab from the existing location of the sample baselineProfiles in release/generated/baselineProfiles baseline.prof size is 5.9k image

  2. In the case of creating app-release.aab after moving the same file to main/generated/baselineProfiles baseline.prof size is 4.8k image

  3. 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/baselineProfiles directory.

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?

Veronikapj avatar Nov 24 '23 10:11 Veronikapj