java-performance-audit

Installation
SKILL.md

Java Android Runtime Performance Audit

Instructions

Performance work is measurement-first. Do not optimize without a trace.

1. Establish a Baseline

Measure these before changing any code:

  • Startup timeadb shell am start -W ...TotalTime, WaitTime.
  • Frame rate — Profiler → CPU → System Trace, or Macrobenchmark library.
  • Memory — Profiler → Memory → record allocations.
  • Network — Profiler → Network timeline.

Save traces in docs/perf/ with a date; every future change compares against the baseline.

2. StrictMode — catch main-thread IO immediately

Enable StrictMode in debug builds only:

Installs
1
GitHub Stars
1
First Seen
Jul 10, 2026
java-performance-audit — almasumdev/awesome-java-android-agent-skills