Skip to content

Performance degradation fix due to rect tracking #2112

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

Merged
merged 2 commits into from
May 14, 2025

Conversation

pjBooms
Copy link

@pjBooms pjBooms commented May 13, 2025

Added forgotten RectManager methods calls in analogy of AndroidComposeView (from AOSP commit)

Fixes:

Testing

Running the benchmark to ensure that degradation has done

Release Notes

Fixes - Multiple Platforms

  • Fixed a memory leak and performance degradation when ComposeUiFlags.isRectTrackingEnabled set to true (default).

@pjBooms pjBooms requested review from MatkovIvan and igordmn May 13, 2025 15:10
Copy link
Member

@MatkovIvan MatkovIvan left a comment

Choose a reason for hiding this comment

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

Please move release notes from "Highlights - iOS" to "Fixes - Multiplatofrm" and it's about a memory leak for public, it shouldn't mention any our internal tools/benchmark

@pjBooms
Copy link
Author

pjBooms commented May 13, 2025

Please move release notes from "Highlights - iOS" to "Fixes - Multiplatofrm" and it's about a memory leak for public, it shouldn't mention any our internal tools/benchmark

Benchmarks are public, we refer them in public materials. But ok.

@pjBooms pjBooms force-pushed the pjBooms/rect-tracking-fix branch from 1ebc738 to 0b5aa1f Compare May 14, 2025 14:53
pjBooms added 2 commits May 14, 2025 18:19
- added forgotten rect manager method calls in analogy of AndroidComposeView (from AOSP Change-Id: Ibcedf1aa6b2e96c5f11221248fa16fe1f82b9ba)
@pjBooms pjBooms force-pushed the pjBooms/rect-tracking-fix branch from 6c1c8a1 to b58144d Compare May 14, 2025 15:25
@pjBooms pjBooms merged commit 8c50f06 into jb-main May 14, 2025
10 checks passed
@pjBooms pjBooms deleted the pjBooms/rect-tracking-fix branch May 14, 2025 16:10
pjBooms added a commit that referenced this pull request May 15, 2025
Added forgotten `RectManager` methods calls in analogy of
AndroidComposeView (from AOSP
[commit](androidx@655aebc))

Fixes: 
- [CMP-6925](https://youtrack.jetbrains.com/issue/CMP-6925)
- [CMP-6715](https://youtrack.jetbrains.com/issue/CMP-6715)

## Testing
Running the benchmark to ensure that degradation has done

## Release Notes
### Fixes - Multiple Platforms
- Fixed a memory leak and performance degradation when
`ComposeUiFlags.isRectTrackingEnabled` set to `true`(default).
Kpotko added a commit that referenced this pull request May 20, 2025
#2123)

Added forgotten `RectManager` methods calls in analogy of
AndroidComposeView (from AOSP

[commit](androidx@655aebc))

Fixes: 
- [CMP-6925](https://youtrack.jetbrains.com/issue/CMP-6925)
- [CMP-6715](https://youtrack.jetbrains.com/issue/CMP-6715)

## Testing
Running the benchmark to ensure that degradation has gone

## Release Notes
### Fixes - Multiple Platforms
- Fixed a memory leak and performance degradation when
`ComposeUiFlags.isRectTrackingEnabled` set to `true`(default).
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.

3 participants