Skip to content
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

Fix performance issue with line dash patterns #1736

Merged
merged 4 commits into from
Aug 29, 2022
Merged

Fix performance issue with line dash patterns #1736

merged 4 commits into from
Aug 29, 2022

Conversation

calda
Copy link
Member

@calda calda commented Aug 29, 2022

This PR fixes a performance issue with line dash patterns. A lineDashPattern of all 0.01 values seems to causes Core Animation to have extremely poor performance, basically hanging the entire OS. Fixes #1735.

Copy link
Collaborator

@erichoracek erichoracek left a comment

Choose a reason for hiding this comment

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

Oh boy 😅

@calda calda enabled auto-merge (squash) August 29, 2022 19:12
@calda calda merged commit e618a02 into master Aug 29, 2022
@calda calda deleted the cal--1735 branch August 29, 2022 19:25
MoroziOS pushed a commit to MoroziOS/tmg-lottie-ios that referenced this pull request May 22, 2024
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.

Specific animation saturates main thread/freezes app in all rendering modes
2 participants