Use this skill to generate and measure Jetpack Compose Baseline Profiles end-to-end with the AGP 8.2+ Baseline Profile Generator module and the Macrobenchmark harness. Covers writing the BaselineProfileRule journey for cold startup plus first-scroll, generating baseline-prof.txt, verifying it shipped at assets/dexopt/baseline.prof, measuring with MacrobenchmarkRule under CompilationMode.Partial(BaselineProfileMode.Require), and emitting accurate time-to-fully-drawn via ReportDrawn / ReportDrawnWhen / ReportDrawnAfter from androidx.activity.compose. Compose ships unbundled, so every Compose UI app benefits — cited gains around 30% faster startup and 40% smoother first-scroll. Use when the user mentions "baseline profile", "macrobenchmark", "slow cold startup", "first-scroll jank", "StartupTimingMetric", "FrameTimingMetric", "ReportDrawn", "TTFD", or preparing a release build for performance measurement.
$npx -y skills add skydoves/compose-performance-skills --skill generating-baseline-profilesInstalls into the current project.
Run `npx skills use "https://github.com/skydoves/compose-performance-skills" --skill "skydoves/compose-performance-skills/generating-baseline-profiles"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/skydoves/compose-performance-skills" that are relevant to the current task. Run `npx skills add "https://github.com/skydoves/compose-performance-skills"` and select the relevant skills, then follow their instructions.