Skip to content

Improve android inspect performace#660

Merged
mdshakib007 merged 1 commit intodevfrom
android-inspect-perf
Feb 15, 2026
Merged

Improve android inspect performace#660
mdshakib007 merged 1 commit intodevfrom
android-inspect-perf

Conversation

@mahbd
Copy link
Collaborator

@mahbd mahbd commented Feb 14, 2026

PR Type

Refactor

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made.
  • Version number has been updated.
  • Required modules have been added to respective "requirements*.txt" files.
  • Relevant Test Cases added to this description (below).
  • (Team) Label with affected action categories and semver status.

Overview

This PR improves the performance and stability of the Android Inspect workflow by optimizing how the UI hierarchy is collected, processed, and uploaded.

Previous behavior

  • Android Inspect/UI dump could become slow or laggy during repeated refreshes.
  • In some cases, the inspect experience felt inconsistent due to redundant work and timing issues.

New behavior

  • Reduces redundant processing during Android UI dump refresh cycles.
  • Improves responsiveness and reduces load on both the node and server during Android Inspect sessions.

Impact

  • Faster Android Inspect refresh.
  • Less network traffic between node and server.
  • More stable inspect experience during long-running sessions.

No breaking changes intended.

Test Cases

  • Android Inspect → Open inspect view → verify UI tree loads correctly

  • Android Inspect → Refresh repeatedly → verify it stays responsive

  • Android Inspect → Keep inspect open for 5–10 minutes → confirm no major CPU spikes or lag

  • Verify UI dump updates correctly when navigating between screens

  • Verify UI dump does not re-upload if screen has not changed

  • TEST-0000

@mdshakib007 mdshakib007 merged commit 8f2a2d1 into dev Feb 15, 2026
7 checks passed
@mdshakib007 mdshakib007 deleted the android-inspect-perf branch February 15, 2026 04:38
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

Comments