I want to know current project's Baseline profile skill #1469
-
Hello, @mlykotom Current project serves the one Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
There's been an improvement in how baseline profiles are processed. Starting with AGP 7.2 you can have multiple files in the baselineProfile/ folder. These are then merged during app build. This is why you have multiple files generated by the Macrobenchmark, because they're generated per your generator test. You can copy the ones without the date postfix, it's there to provide unique file for test history, but it's equal to the ones without it. Sorry for the confusion with the older setup in the videos! |
Beta Was this translation helpful? Give feedback.
If you run
xxxxBenchmarkReleaseAndroidTest
tasks, the generated baseline profile files aren't automatically moved to your project and you have to do it manually into thesrc/main/baselineProfiles
folder.You can automate that step with the Baseline Profile Gradle Plugin and then you'd run
generateBaselineProfile
gradle task.Check our documentation.
Sounds good, should be in
benchmarks/build/outputs
as well.