Cold starts ran unoptimised: no profileinstaller dependency and no profile in the bundle, so ART interpreted Compose on first launch (class verification measured at 128 bytecodes/s in an emulator ANR). Add the androidx.baselineprofile producer module with an AOSP managed device, a generator covering startup plus the four detail tabs, and commit the generated baseline and startup profiles.
11 lines
444 B
Kotlin
11 lines
444 B
Kotlin
// Top-level build file. Module-level config lives in app/build.gradle.kts.
|
|
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
alias(libs.plugins.kotlin.android) apply false
|
|
alias(libs.plugins.kotlin.compose) apply false
|
|
alias(libs.plugins.kotlin.serialization) apply false
|
|
alias(libs.plugins.ksp) apply false
|
|
alias(libs.plugins.android.test) apply false
|
|
alias(libs.plugins.baselineprofile) apply false
|
|
}
|