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

Request frame before paint #454

Closed
wants to merge 3 commits into from
Closed

Conversation

jacksongoode
Copy link
Collaborator

This resolves issue #367 by requesting an animation frame before we paint. However, it's at the expense of CPU cycles. It seems that CPU usage, at least on my machine, went from 5% to around 9% when quickly moving the cursor around on the page.

@jacksongoode
Copy link
Collaborator Author

jacksongoode commented Feb 14, 2024

I suspect this is the wrong way to do this but maybe it will motivate someone.

The interesting thing is that this graphical bug only happens after a user's liked tracks are loaded.

@jacksongoode jacksongoode deleted the jackson/request-frame-link branch July 8, 2024 22:07
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