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

CPU more 90%, low FPS #79

Open
mpkupriyanov opened this issue Jul 23, 2019 · 2 comments
Open

CPU more 90%, low FPS #79

mpkupriyanov opened this issue Jul 23, 2019 · 2 comments

Comments

@mpkupriyanov
Copy link

mpkupriyanov commented Jul 23, 2019

What's happened?

Add 12 nodes. CPU 96%
http://joxi.ru/nAybJeYIgVeDOr

Add 1 node. CPU 77%
http://joxi.ru/1A5XGRZFDv75P2

@zyphs21
Copy link
Contributor

zyphs21 commented Aug 17, 2019

@mpkupriyanov I think it's because there too many SKCropNode and cause offscreen buffer.

according to the AppleDoc:

Use crop nodes sparingly. Because they require an additional offscreen memory buffer to perform the crop and add a rendering operation into the offscreen buffer, they add notably more overhead to the app.

@mpkupriyanov
Copy link
Author

mpkupriyanov commented Aug 17, 2019

@mpkupriyanov I think it's because there too many SKCropNode and cause offscreen buffer.

according to the AppleDoc:

Use crop nodes sparingly. Because they require an additional offscreen memory buffer to perform the crop and add a rendering operation into the offscreen buffer, they add notably more overhead to the app.

Thanks a lot, Hanson!
It is works a little better, but overhead is still huge!

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