-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add automated baseline profile generation #880
Conversation
ec42fac
to
a46f315
Compare
The build is currently failing during the nowinandroid/.github/workflows/Build.yaml Lines 43 to 44 in 492697c
Since it's part of the initial build, that is running on |
benchmarks/src/main/java/com/google/samples/apps/nowinandroid/interests/InterestsActions.kt
Outdated
Show resolved
Hide resolved
benchmarks/src/main/java/com/google/samples/apps/nowinandroid/foryou/ForYouActions.kt
Outdated
Show resolved
Hide resolved
9e60d34
to
0f459c9
Compare
FYI: version And the Baseline Profiles module wizard has been updated in Android Studio Iguana | 2023.2.1. |
21c1abc
to
61f579c
Compare
4bc53fb
to
5435a80
Compare
8c73cb6
to
043b6b9
Compare
Change-Id: Id9719e352b16385d721cb3e377c8547bb018d7fb
Change-Id: Ibcc8897bf019070059eee5f99faf0cea384b9fc4
Change-Id: I21c4f78bd963c4ed7c6d937cc60b3cf6c5c42b89
Change-Id: I913fcc10dff796fefb6ec75bc054dd7b78df7691
Change-Id: I3180f6e132068c4669bfd848906dfd4a7a68c6c0
Change-Id: I570e476eeaf2aaa1f6b5533061541e2adb3ca82c
* Fix baseline profile generation for release workflow * Remove some limitations from general build Change-Id: I28ed8ee43eaa4240eaefafcc79e2718d609edf41
Change-Id: I56f9686709d10bd3fd98c58e33c7b6c36c1aa9e1
Change-Id: Icacbb72deaa426acbeb1cd6db9e94a7a66a72786
Change-Id: I2ea78898ef98592aec789f6bf8fe18b72a7d0334
Change-Id: Id9c97d51e8f68e7ba5b898ea41bd853a26ffcfa9
Change-Id: I633e156e8f8fc2d172bbbb82ed05ced2d5ba1615
Change-Id: I5d349ebb0e667cbdf2e1acc1a0df30d6b252b132
f7ec256
to
1029289
Compare
f207a59
to
d93fe88
Compare
...c/main/kotlin/com/google/samples/apps/nowinandroid/baselineprofile/StartupBaselineProfile.kt
Outdated
Show resolved
Hide resolved
benchmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/startup/StartupBenchmark.kt
Outdated
Show resolved
Hide resolved
I suggest moving profile generation to its own module. Apart from that this LGTM! |
…d/baselineprofile/StartupBaselineProfile.kt Co-authored-by: Jose Alcérreca <JoseAlcerreca@users.noreply.github.com>
Change-Id: I7288663d111bcc0b06261fdc0fe833271f7f5228
Change-Id: I255fbd448d602055c3f395843d7753c7e7d85c86
Baseline profile generation is disabled for the PR level
Build
task.Release
tasks require a fresh baseline profile. A new profile is generated using the baseline profile Gradle plugin.Prepares for usage of dex layout optimizations which can be actively used once NiA switches to AGP 8.2+.