Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Feature / Added baseline and startup profile generation (#1752)

Mohsen Rezania8f196e18a71f
diff --git a/.github/workflows/NightlyBaselineProfiles.yaml b/.github/workflows/NightlyBaselineProfiles.yaml
index 288842ac7..de626b0a5 100644
--- a/.github/workflows/NightlyBaselineProfiles.yaml
+++ b/.github/workflows/NightlyBaselineProfiles.yaml
@@ -52,8 +52,9 @@ jobs:
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
- - name: Build all build type and flavor permutations including baseline profiles
- run: ./gradlew :app:assemble
- -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile
- -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
- -Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
+ # This generates both baseline and startup profile and adds them into the generated folder
+ - name: Generate Baseline Profile
+ run: ./gradlew :app:generateReleaseBaselineProfile
+ -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile
+ -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
+ --stacktrace
\ No newline at end of file