Skip to content

Optimize Android emulator initialization by batching reboots#5280

Open
jardondiego wants to merge 7 commits into
masterfrom
optimize-android-reboots
Open

Optimize Android emulator initialization by batching reboots#5280
jardondiego wants to merge 7 commits into
masterfrom
optimize-android-reboots

Conversation

@jardondiego
Copy link
Copy Markdown
Collaborator

This change reduces the number of reboots during Android device setup by:

  • Adding a wait_for_reboot parameter to adb.write_data_to_file.
  • Tracking reboot status in initialize_device to skip the final reboot if one already occurred.
  • Disabling reboots when setting sanitizer options since the app restart is sufficient.

These optimizations improve bot startup efficiency and overall fuzzing throughput.

This change reduces the number of reboots during Android device setup by:
- Adding a wait_for_reboot parameter to adb.write_data_to_file.
- Tracking reboot status in initialize_device to skip the final reboot if one already occurred.
- Disabling reboots when setting sanitizer options since the app restart is sufficient.

These optimizations improve bot startup efficiency and overall fuzzing throughput.
@jardondiego jardondiego marked this pull request as ready for review May 17, 2026 00:44
@jardondiego jardondiego requested a review from a team as a code owner May 17, 2026 00:44
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