Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the difference in file size inside the aab depending on the location of the generated baseline-prof.txt file #262

Open
Veronikapj opened this issue Nov 24, 2023 · 0 comments
Assignees

Comments

@Veronikapj
Copy link

  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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants