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

Getting path is slow #43

Closed
aykutersahin opened this issue Mar 1, 2016 · 1 comment
Closed

Getting path is slow #43

aykutersahin opened this issue Mar 1, 2016 · 1 comment

Comments

@aykutersahin
Copy link

Hi,

I am using pathFromSVGFileNamed and it takes 50-90 ms for a svg to get path. I am working with multiple svg images so it became really slow. There is something wrong or it is normal to take a long time to render?

Thanks

@arielelkin
Copy link
Collaborator

Performance depends on the device hardware and on the complexity of the path.. If you notice some lag when generating CGPaths I'd recommend you execute it on a background queue.

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

No branches or pull requests

2 participants