-
Notifications
You must be signed in to change notification settings - Fork 1
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
High CPU usage / low FPS #14
Comments
Hey Oles, I haven't seen this issue before. You're using the react native sdk right? Could you also share what device (or emulator) and OS version you're testing on? |
yeah, latest react native sdk I've tried multiple device, seems like all of them have same issue:
it's also mostly visible on first swipe, later in 5-10s becoming faster |
Thanks for the info! We have been able to reproduce it now. Will look into this and get it fixed it in a future release. |
Hey, I've looked into this issue and it seems to occur when running the SDK in debug mode on Android due to some overhead that affects the performance of lazy layouts. The issue should go away when you run the app in release or profileable mode. |
Just tried running release build made via Video with freezes at the start of scrollfile.mp4Device used: Galaxy A50 (which is considered median peformance wise) Compared with Gmail app - FPS also drops to ~40, but scroll is smooth all the time despite much larger list. So it's not that significant as I thought, but still feels too much for such a small list |
Can you share which tool you're using to monitor performance? |
I was using https://docs.flashlight.dev/ |
Hey,
I've noticed significant lag when scrolling over list of banks:
CPU/threads/FPS chart
Video with visible lag (see how long it takes for images to render)
file.mp4
Do you know what could be causing this? Noticed images are "blinking" during the scroll maybe there too much encoding/resizing happening on every element instead of once?
The text was updated successfully, but these errors were encountered: