Skip to content

Conversation

@pushpalroy
Copy link
Owner

@pushpalroy pushpalroy commented Nov 24, 2025

This PR adds the Compose Stability Analyzer Plugin to enable recomposition tracking and performance monitoring in the JetLime library and sample app. The analyzer helps identify unnecessary recompositions and stability issues in Compose code.

Key changes:

  • Adds plugin configuration in version catalog and build files
  • Applies @TraceRecomposition annotation to selected timeline composables in the sample app
  • Implements custom recomposition logger in MyApplication for Android builds
  • Registers custom application class in AndroidManifest

@pushpalroy pushpalroy self-assigned this Nov 24, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the Compose Stability Analyzer Plugin to enable recomposition tracking and performance monitoring in the JetLime library and sample app. The analyzer helps identify unnecessary recompositions and stability issues in Compose code.

Key changes:

  • Adds plugin configuration in version catalog and build files
  • Applies @TraceRecomposition annotation to selected timeline composables in the sample app
  • Implements custom recomposition logger in MyApplication for Android builds
  • Registers custom application class in AndroidManifest

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
gradle/libs.versions.toml Adds version declaration and plugin alias for stability analyzer (0.6.0)
build.gradle.kts Registers plugin in root build file
jetlime/build.gradle.kts Applies analyzer plugin to library module
sample/composeApp/build.gradle.kts Applies analyzer plugin to sample app
sample/composeApp/src/androidMain/AndroidManifest.xml Registers MyApplication class
sample/composeApp/src/androidMain/kotlin/com/pushpal/jetlime/sample/MyApplication.kt Implements custom recomposition logging setup
sample/composeApp/src/commonMain/kotlin/timelines/*.kt Adds @TraceRecomposition to three timeline composables

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants