Magnetic
Magnetic copied to clipboard
CPU more 90%, low FPS
What's happened?
Add 12 nodes. CPU 96% http://joxi.ru/nAybJeYIgVeDOr
Add 1 node. CPU 77% http://joxi.ru/1A5XGRZFDv75P2
@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 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!