Skip to content

Commit a41e6c2

Browse files
author
Murat Yener
committed
Baseline Profiles API change 'collectStableBaselineProfile()' is changed to 'collect()'
1 parent 9cd390c commit a41e6c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmarks/src/main/java/com/google/samples/apps/nowinandroid/baselineprofile/BaselineProfileGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class BaselineProfileGenerator {
3737

3838
@Test
3939
fun generate() =
40-
baselineProfileRule.collectBaselineProfile(PACKAGE_NAME) {
40+
baselineProfileRule.collect(PACKAGE_NAME) {
4141
// This block defines the app's critical user journey. Here we are interested in
4242
// optimizing for app startup. But you can also navigate and scroll
4343
// through your most important UI.

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ androidxDataStore = "1.0.0"
1515
androidxEspresso = "3.5.0"
1616
androidxHiltNavigationCompose = "1.0.0"
1717
androidxLifecycle = "2.6.0-alpha05"
18-
androidxMacroBenchmark = "1.1.1"
18+
androidxMacroBenchmark = "1.2.0-alpha16"
1919
androidxMetrics = "1.0.0-alpha03"
2020
androidxNavigation = "2.5.3"
2121
androidxProfileinstaller = "1.2.1"

0 commit comments

Comments
 (0)