rn-perfect-sketch-canvas
rn-perfect-sketch-canvas copied to clipboard
Android performance issue when having 20+ stokes on the page
at the beginning the stoke follows the touch motion pretty closely. But as more stokes were drawn (or when one single stroke gets longer), the new stoke gradually lags behind touch motion increasingly severely.
This is reproducible on the android emulator as well as on real android phones. However the performance on ios emulator remains reasonable even with a lot of strokes
I don't have android emulator set up yet but can you try it with latest rn skia version?
@wobsoriano I also facing the performance issue. Tested with latest Skia version on physical Android device
@wobsoriano I'm also facing same issue. Tested on android simulator: after drawing few strokes lag increase gradually till is very severe. I've tested also on ios simulator but it seems to me there is no lag even after a lot of strokes are drawn.
I opened the same issue in the react-native-skia
repo: https://github.com/Shopify/react-native-skia/issues/741 since the source is in their lib
Tested both Android emulator and physical device, i'm facing same performance issue. Works well with iPad emulator.