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

Merged
merged 13 commits into from
Aug 13, 2025
Merged

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 498.64 ms 567.53 ms 68.89 ms
Size 1.58 MiB 2.10 MiB 530.94 KiB

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

Startup times

Revision Plain With Sentry Diff
9ecbb4f 436.71 ms 478.31 ms 41.60 ms
94ca325 370.51 ms 405.20 ms 34.69 ms
3120276 455.04 ms 486.08 ms 31.04 ms
5be9ee9 388.44 ms 433.20 ms 44.76 ms
0d52162 396.02 ms 458.04 ms 62.02 ms
3f00785 381.55 ms 419.53 ms 37.98 ms
43febdb 395.60 ms 431.50 ms 35.90 ms
dc2d922 385.00 ms 406.14 ms 21.14 ms

App size

Revision Plain With Sentry Diff
9ecbb4f 1.58 MiB 2.09 MiB 521.83 KiB
94ca325 1.58 MiB 2.09 MiB 521.73 KiB
3120276 1.58 MiB 2.09 MiB 521.83 KiB
5be9ee9 1.58 MiB 2.09 MiB 521.57 KiB
0d52162 1.58 MiB 2.09 MiB 521.74 KiB
3f00785 1.58 MiB 2.09 MiB 521.56 KiB
43febdb 1.58 MiB 2.09 MiB 522.31 KiB
dc2d922 1.58 MiB 2.09 MiB 521.73 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.

Copy link
Member

@romtsn romtsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@markushi markushi enabled auto-merge (squash) August 13, 2025 10:53
@markushi markushi merged commit 8bbe814 into main Aug 13, 2025
38 checks passed
@markushi markushi deleted the markushi/chore/speedup-agp-test-matrix branch August 13, 2025 10:55
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.

2 participants