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

Improve performance of initial rendering for large lists #12

Merged
merged 41 commits into from
Jan 8, 2025
Merged

Conversation

azimgd
Copy link
Owner

@azimgd azimgd commented Dec 8, 2024

POC to improve initial rendering performance by moving component initialization to native-land, ensuring a steady 60fps. Tradeoff is that renderItem function must be pure, with no side effects, to maintain this performance.

Very rough results:

  • Steady 60fps on both JS and UI threads
  • ~3x less CPU usage on aggressive scrolling
  • ~1.5x less memory usage

azimgd added 30 commits December 6, 2024 17:31
@azimgd azimgd merged commit 27eb07a into main Jan 8, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant