android-performance-profiler
Installation
SKILL.md
Performance Profiler (Android)
Checklist
Recompositions
- Composables only recompose when state changes
- State properly scoped with
remember - Stable item keys in LazyColumn
- Annotate custom data classes with
@Stableor@Immutable - Defer state reads (wrap in lambdas where possible)
- Avoid backwards writes (never write to a state that was already read higher in the same composable)
Lists
- Use
LazyColumnnotColumn + verticalScrollfor large data - Stable keys via
key()parameter - Lightweight item composables