Created
January 12, 2026 02:28
-
-
Save maskaravivek/6ff2d7dd31435f70d4eec1b02729a164 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| orbs: | |
| android: circleci/[email protected] | |
| gcp-cli: circleci/[email protected] | |
| ... | |
| jobs: | |
| ... | |
| benchmarks-ftl: | |
| executor: | |
| name: android/android | |
| sdk-version: "30" | |
| variant: node | |
| steps: | |
| - checkout | |
| - android/restore-gradle-cache | |
| - android/restore-build-cache | |
| - run: | |
| name: Build app and test app | |
| command: ./gradlew app:assembleRelease macrobenchmark:assemble | |
| - gcp-cli/initialize: | |
| gcloud-service-key: GCP_SA_KEY | |
| google-project-id: GCP_PROJECT_ID | |
| - run: | |
| name: run on FTL | |
| command: | | |
| gcloud firebase test android run \ | |
| --type instrumentation \ | |
| --app app/build/outputs/apk/release/app-release.apk \ | |
| --test macrobenchmark/build/outputs/apk/release/macrobenchmark-release.apk \ | |
| --device model=flame,version=30,locale=en,orientation=portrait \ | |
| --directories-to-pull /sdcard/Download \ | |
| --results-bucket gs://android-sample-benchmarks \ | |
| --results-dir macrobenchmark \ | |
| --environment-variables clearPackageData=true,additionalTestOutputDir=/sdcard/Download,no-isolated-storage=true | |
| - run: | |
| name: Download benchmark data | |
| command: | | |
| mkdir ~/benchmarks | |
| gsutil cp -r 'gs://android-sample-benchmarks/macrobenchmark/**/artifacts/sdcard/Download/*' ~/benchmarks | |
| gsutil rm -r gs://android-sample-benchmarks/macrobenchmark | |
| - store_artifacts: | |
| path: ~/benchmarks | |
| - run: | |
| name: Evaluate benchmark results | |
| command: node scripts/eval_startup_benchmark_output.js | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment