Skip to content

Cache Android Emulator generation #4605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

markushi
Copy link
Member

@markushi markushi commented Aug 5, 2025

As outline in https://github.com/marketplace/actions/android-emulator-runner#usage--examples we can cache the android emulator AVD generation.

Savings per run:

  • ~40s of execution time for setting up the emulator
  • ~70s of execution time for a more efficient KVM setup

#skip-changelog

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

github-actions bot commented Aug 5, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 370.51 ms 405.20 ms 34.69 ms
Size 1.58 MiB 2.09 MiB 521.73 KiB

Previous results on branch: markushi/chore/speedup-agp-test-matrix

Startup times

Revision Plain With Sentry Diff
dc2d922 385.00 ms 406.14 ms 21.14 ms
3120276 455.04 ms 486.08 ms 31.04 ms
0d52162 396.02 ms 458.04 ms 62.02 ms
3f00785 381.55 ms 419.53 ms 37.98 ms
5be9ee9 388.44 ms 433.20 ms 44.76 ms
9ecbb4f 436.71 ms 478.31 ms 41.60 ms

App size

Revision Plain With Sentry Diff
dc2d922 1.58 MiB 2.09 MiB 521.73 KiB
3120276 1.58 MiB 2.09 MiB 521.83 KiB
0d52162 1.58 MiB 2.09 MiB 521.74 KiB
3f00785 1.58 MiB 2.09 MiB 521.56 KiB
5be9ee9 1.58 MiB 2.09 MiB 521.57 KiB
9ecbb4f 1.58 MiB 2.09 MiB 521.83 KiB

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant