Добавлен модуль macrobenchmark и сценарии замера производительности

This commit is contained in:
2026-03-27 22:30:50 +05:00
parent e7efe0856c
commit 84aad5f094
7 changed files with 220 additions and 2 deletions

View File

@@ -83,6 +83,14 @@ android {
// Enable baseline profiles in debug builds too for testing
// Remove this in production
}
create("benchmark") {
initWith(getByName("release"))
signingConfig = signingConfigs.getByName("release")
matchingFallbacks += listOf("release")
isDebuggable = false
isMinifyEnabled = false
isShrinkResources = false
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
@@ -192,7 +200,7 @@ dependencies {
}
// Baseline Profiles for startup performance
implementation("androidx.profileinstaller:profileinstaller:1.3.1")
implementation("androidx.profileinstaller:profileinstaller:1.4.1")
// Firebase Cloud Messaging
implementation(platform("com.google.firebase:firebase-bom:32.7.0"))