perf(profile): generate baseline and startup profiles
Add a reproducible generator for startup, search, article opening and scrolling, search history, the settings and About screens and their dialogs. Replace the hand-written profile with generated release profiles.
This commit is contained in:
1 parent
85ee7d703b
commit
938d920725
9 files changed
+20791
-64
No files matched your search
@@ -67,6 +67,7 @@ plugins {
|
||||
alias(libs.plugins.kotlin.compose)
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
alias(libs.plugins.aboutlibraries)
|
||||
alias(libs.plugins.baselineprofile)
|
||||
}
|
||||
|
||||
kotlin {
|
||||
@@ -109,6 +110,10 @@ android {
|
||||
}
|
||||
|
||||
release {
|
||||
if (project.hasProperty("research.debugSign")) {
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
|
||||
ndk {
|
||||
abiFilters.clear()
|
||||
abiFilters += "arm64-v8a"
|
||||
@@ -158,6 +163,8 @@ aboutLibraries {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
baselineProfile(project(":baselineprofile"))
|
||||
|
||||
implementation(libs.androidx.core)
|
||||
|
||||
implementation(libs.androidx.lifecycle.runtime.ktx)
|
||||
|
||||
Reference in new issue
Block a user