Skip to content

Conversation

skydoves
Copy link
Member

@skydoves skydoves commented Jul 1, 2025

Introduce the Compose compiler metrics option for the ui package. So now we can improve the stability and compose performance by utilizing these metrics.

Composable function metrics

revenuecatui_defaultsRelease-composables.txt

Class stability metrics

revenuecatui_defaultsRelease-classes.txt

How to generate those metrics?

./gradlew assembleRelease -Prevenuecat.enableComposeCompilerReports=true

@skydoves skydoves requested a review from a team July 1, 2025 07:45
@skydoves skydoves self-assigned this Jul 1, 2025
Copy link

codecov bot commented Jul 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.72%. Comparing base (d3be430) to head (6a92661).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2474   +/-   ##
=======================================
  Coverage   78.72%   78.72%           
=======================================
  Files         289      289           
  Lines       10519    10519           
  Branches     1509     1509           
=======================================
  Hits         8281     8281           
  Misses       1590     1590           
  Partials      648      648           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@JayShortway JayShortway left a comment

Choose a reason for hiding this comment

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

Thanks for adding this!

At some point we could consider generating this for every PR and committing the file, so we can track regressions.

@skydoves skydoves added this pull request to the merge queue Jul 2, 2025
Merged via the queue into main with commit 80dd89a Jul 2, 2025
14 checks passed
@skydoves skydoves deleted the integrate/compose-compiler-metrics branch July 2, 2025 01:25
github-merge-queue bot pushed a commit that referenced this pull request Jul 3, 2025
**This is an automatic release.**

## RevenueCat SDK
### ✨ New Features
* Add `managementURL` to `SubscriptionInfo` (#2468) via Cesar de la Vega
(@vegaro)
### 🐞 Bugfixes
* Use subscription's managementURL instead of CustomerInfo's in Customer
Center (#2473) via Cesar de la Vega (@vegaro)
* Issue when loading promotional offers when products are missing base
plans (#2471) via Cesar de la Vega (@vegaro)
* Purchases the right package when a purchase button is inside a package
component (#2469) via JayShortway (@JayShortway)
* fix potential infinite loop in paywalls (#2462) via Antonio Pallares
(@ajpallares)

## RevenueCatUI SDK
### Customer Center
#### ✨ New Features
* Support multi purchases in Customer Center (#2431) via Cesar de la
Vega (@vegaro)
#### 🐞 Bugfixes
* Use Material TopAppBar in Customer Center (#2459) via Cesar de la Vega
(@vegaro)
* Redo navigation in Customer Center (#2458) via Cesar de la Vega
(@vegaro)

### 🔄 Other Changes
* Migrates publishing to Maven Central Portal. (#2476) via JayShortway
(@JayShortway)
* Introduce the Compose compiler metrics option for the ui package
(#2474) via Jaewoong Eum (@skydoves)
* Update workflows/issue-notifications.yml@v2 (#2475) via Josh Holtz
(@joshdholtz)
* Configure Renovate (#2470) via RevenueCat Git Bot (@RCGitBot)
* Add GitHub Issue Action Ack (#2467) via Josh Holtz (@joshdholtz)
* [AUTOMATIC][Paywalls V2] Updates paywall-preview-resources submodule
(#2448) via RevenueCat Git Bot (@RCGitBot)
* Improve paywall error logs (#2461) via Toni Rico (@tonidero)
* [EXTERNAL] Improve logger performance with message lambdas (#2456) via
@landarskiy (#2460) via JayShortway (@JayShortway)
* [Paywalls] Ignores `sheet.background` property in schema (#2451) via
JayShortway (@JayShortway)

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants