-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Performance degradation after some time if there are animations on the screen #2455
Closed
igordmn opened this issue
Nov 7, 2022
· 1 comment
· Fixed by JetBrains/compose-multiplatform-core#325
Closed
Performance degradation after some time if there are animations on the screen #2455
igordmn opened this issue
Nov 7, 2022
· 1 comment
· Fixed by JetBrains/compose-multiplatform-core#325
Labels
Comments
igordmn
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Nov 10, 2022
If there are animations on the screen, after some time we will encounter performance degradation, and an increased memory consumption. This fix is similar to the other fix in the past (https://android-review.googlesource.com/c/platform/frameworks/support/+/1398690). We have to remember the lambda instead of creating it each time. Fixes JetBrains/compose-multiplatform#2455 Fixes JetBrains/compose-multiplatform#1969 The tests are not very deterministic, but it seems better to have them than not to have. The second test fails before the fix, and passes after the fix. We will see if they will be stable on our CI or not. If they will be flaky, we will tune them, or remove them.
igordmn
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Nov 10, 2022
If there are animations on the screen, after some time we will encounter performance degradation, and an increased memory consumption. This fix is similar to the other fix in the past (https://android-review.googlesource.com/c/platform/frameworks/support/+/1398690). We have to remember the lambda instead of creating it each time. Fixes JetBrains/compose-multiplatform#2455 Fixes JetBrains/compose-multiplatform#1969 The tests are not very deterministic, but it seems better to have them than not to have. The second test fails before the fix, and passes after the fix. We will see if they will be stable on our CI or not. If they will be flaky, we will tune them, or remove them.
eymar
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Nov 16, 2022
If there are animations on the screen, after some time we will encounter performance degradation, and an increased memory consumption. This fix is similar to the other fix in the past (https://android-review.googlesource.com/c/platform/frameworks/support/+/1398690). We have to remember the lambda instead of creating it each time. Fixes JetBrains/compose-multiplatform#2455 Fixes JetBrains/compose-multiplatform#1969 The tests are not very deterministic, but it seems better to have them than not to have. The second test fails before the fix, and passes after the fix. We will see if they will be stable on our CI or not. If they will be flaky, we will tune them, or remove them.
igordmn
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Dec 5, 2022
If there are animations on the screen, after some time we will encounter performance degradation, and an increased memory consumption. This fix is similar to the other fix in the past (https://android-review.googlesource.com/c/platform/frameworks/support/+/1398690). We have to remember the lambda instead of creating it each time. Fixes JetBrains/compose-multiplatform#2455 Fixes JetBrains/compose-multiplatform#1969 The tests are not very deterministic, but it seems better to have them than not to have. The second test fails before the fix, and passes after the fix. We will see if they will be stable on our CI or not. If they will be flaky, we will tune them, or remove them.
eymar
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Jan 13, 2023
If there are animations on the screen, after some time we will encounter performance degradation, and an increased memory consumption. This fix is similar to the other fix in the past (https://android-review.googlesource.com/c/platform/frameworks/support/+/1398690). We have to remember the lambda instead of creating it each time. Fixes JetBrains/compose-multiplatform#2455 Fixes JetBrains/compose-multiplatform#1969 The tests are not very deterministic, but it seems better to have them than not to have. The second test fails before the fix, and passes after the fix. We will see if they will be stable on our CI or not. If they will be flaky, we will tune them, or remove them.
MatkovIvan
pushed a commit
to MatkovIvan/compose-multiplatform
that referenced
this issue
May 10, 2023
If there are animations on the screen, after some time we will encounter performance degradation, and an increased memory consumption. This fix is similar to the other fix in the past (https://android-review.googlesource.com/c/platform/frameworks/support/+/1398690). We have to remember the lambda instead of creating it each time. Fixes JetBrains#2455 Fixes JetBrains#1969 The tests are not very deterministic, but it seems better to have them than not to have. The second test fails before the fix, and passes after the fix. We will see if they will be stable on our CI or not. If they will be flaky, we will tune them, or remove them.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Compose 1.2.1, Windows 11
run1
example in the Compose repoAfter the start:
After 10 minutes:
Not sure, but this can be the reason.
The text was updated successfully, but these errors were encountered: