Commit Graph

3 Commits

Author SHA1 Message Date
Yogesh Choudhary Paliyal
f39c37c59f Generate baseline profile for free and pro app (#1136) 2025-04-06 19:47:02 +05:30
renovate[bot]
76056c9d7a fix(deps): update dependency androidx.benchmark:benchmark-macro-junit4 to v1.3.4 (#1123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 13:42:27 +00:00
Yogesh Choudhary Paliyal
ab66306c1a Add Baseline Profile Module (#928)
* feat: add baseline profile

* feat: minor changes

* Update generate-baseline-profile.yml

* Update generate-baseline-profile.yml

* Cleanup and generate baseline profile

* feat(build): Add workflow to generate baseline profile

* Install GMD image for baseline profile generation
* Accept Android licenses
* Generate baseline profile for free release variant
* Upload generated baseline profiles as artifact

* Fix gmd source

* feat: Disable 64-bit requirement for Pixel 6 API 34

The 64-bit requirement has been disabled for the "pixel6Api34" managed virtual device.

* feat: Configure and run baseline profile generation

*   Cleared the default managed devices in `baselineprofile/build.gradle.kts` and explicitly added "pixel6Api34".
* Configured the GitHub Actions workflow `generate-baseline-profile.yml` to setup the managed device pixel6Api34.
* Configured the workflow to build all build type and flavor permutations.
* Added the option to show kernel logging and use "swiftshader_indirect" for GPU in the tests.

* Refactor: Update baseline profile setup task

*   Changed the Gradle task from `:benchmarks:pixel6Api34Setup` to `:baselineprofile:pixel6Api34Setup` in the GitHub Actions workflow for setting up the baseline profile generation.

* CI: Comment out GMD image installation in baseline profile generation workflow

The GMD image installation step in the `generate-baseline-profile.yml` workflow has been commented out.

* feat: Add Baseline Profile generation

*   The Baseline Profile generation is added in the project
*   Update baselineprofile module to use connected devices for test execution.
*   Create a new shell script `generateBaselineProfile.sh` to install app and baseline profile and pull file to `baseline-prof.txt`
*   Modify `generate-baseline-profile.yml` github workflow to generate profile on device using `reactivecircus/android-emulator-runner` action
*   Fix the package name to `com.yogeshpaliyal.keypass` in `BaselineProfileGenerator.kt` to pull the data.

* CI: Update Baseline Profile device to Nexus 6

* Changed the device profile used for Baseline Profile generation from Pixel 6 to Nexus 6 in the GitHub Actions workflow.
2025-03-31 17:16:20 +05:30