compose-audit

Installation
SKILL.md

Performance First

Every Compose frame runs three phases. Cost rises left-to-right; restart scope shrinks left-to-right.

Phase What Runs Restart Cost Trigger
Composition Composable functions, state reads HIGH (whole scope) State read in composable body
Layout Measure + place MEDIUM (subtree) State read in measure lambda
Drawing Canvas commands, graphicsLayer LOW (single node) State read in draw/graphicsLayer lambda

Audits prioritize issues that force Composition restarts or break lifecycle/correctness. Layout and Drawing phase issues are classified as warning unless they cause measurable jank with evidence.

Performance Toolchain

WARNING: NEVER profile in debug builds. Debug disables R8, inlining, and Strong Skipping — numbers are meaningless. Always profile a release build with profileable enabled or a benchmark build type.

Installs
7
GitHub Stars
1
First Seen
May 24, 2026
compose-audit — santimattius/performance-compose-skills