-
Notifications
You must be signed in to change notification settings - Fork 31
Add Compose Stability Analyzer Plugin #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
@TraceRecompositionannotation to selected timeline composables in the sample app - Implements custom recomposition logger in
MyApplicationfor 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.
# Conflicts: # sample/iosApp/Pods/Pods.xcodeproj/xcuserdata/pushpalroy.xcuserdatad/xcschemes/xcschememanagement.plist
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: