Skip to content

Request frame before paint#454

Closed
jacksongoode wants to merge 3 commits intomasterfrom
jackson/request-frame-link
Closed

Request frame before paint#454
jacksongoode wants to merge 3 commits intomasterfrom
jackson/request-frame-link

Conversation

@jacksongoode
Copy link
Copy Markdown
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
Copy Markdown
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