askill
performance-profiler-android

performance-profiler-androidSafety 90Repository

Identifies potential performance bottlenecks in Jetpack Compose code including expensive recompositions, unnecessary redraws, and memory issues. Use when code involves lists, animations, complex UI, or when the user asks about performance optimization.

1 stars
1.2k downloads
Updated 2/3/2026

Package Files

Loading files...
SKILL.md

Performance Profiler (Android)

Checklist

Recompositions

  • Composables only recompose when state changes
  • State properly scoped with remember
  • Stable item keys in LazyColumn

Lists

  • Use LazyColumn not Column + verticalScroll for large data
  • Stable keys via key() parameter
  • Lightweight item composables

Memory

  • No memory leaks (avoid Activity/View refs)
  • Use Coil/Glide for image loading with caching
  • Proper lifecycle management

Body Computation

  • No heavy work in composable body
  • Use remember for expensive calculations
  • Use derivedStateOf for derived state

Quick Wins

IssueFix
Parent recomposesExtract stable child composables
Expensive bodyUse remember or derivedStateOf
Unstable IDsUse stable keys in LazyColumn
Memory leakAvoid storing Activity/View references
Broad recompositionNarrow state scope

Debug

Use Layout Inspector β†’ Recomposition Counts to visualize recompositions

Severity

  • πŸ”΄ Critical: Visible lag, leaks
  • 🟑 Moderate: Noticeable impact
  • 🟒 Minor: Optimization opportunity

Install

Download ZIP
Requires askill CLI v1.0+β–Ά

AI Quality Score

78/100Analyzed 2/16/2026

A well-structured reference skill for Jetpack Compose performance profiling with actionable checklists and quick wins. Good for code review scenarios but could benefit from more detailed examples and step-by-step guidance.

90
80
85
70
65

Metadata

Licenseunknown
Version-
Updated2/3/2026
PublisherDesquared

Tags

No tags yet.