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
JS fps drop and stutters during image load #34
Comments
Stutters and frame drops were due to a couple of console.logs, that is fixed with commit below: It is not performant without major drop |
When remote Debug JS is on, there is no performance drop, otherwise, it drops. |
RecyclerListView LaoutProvider is called on each screen TAP, which means the component re-renders at each TAP, which is causing a huge recalculation every time and is unexpected. Looking to find the root cause. Most probabely preventing this, would improve performance significantly |
Could improve this a little by adding memo to components in commit ea3b818, however, root cause(excess re-render of RenderPhotos) is still not addressed. |
Excessive states are causing re-renders. Applying a fix by: |
I am switching state management to recoil and switching animation to reanimated. So far the switched components has shown an excellent performance. It probably takes a few more days, but the outcome would be a lightning fast application. Work is being done in branch "reanimated-recyclerlistview" |
When images are being loaded in chunk, between each load a lot of drop happens in JS as well as stutters. This causes the app to become unresponsive during load. one side-effect is if user scrolls during these times, it jumps around since engine cannot properly determine the last position as it was busy.
The text was updated successfully, but these errors were encountered: