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

Background animation degrading performance #334

Open
bmakan opened this issue Jan 16, 2025 · 1 comment
Open

Background animation degrading performance #334

bmakan opened this issue Jan 16, 2025 · 1 comment

Comments

@bmakan
Copy link

bmakan commented Jan 16, 2025

The background animation present on all TanStack doc pages causes high GPU and CPU load. While I don't disagree they look nice and make the page look unique, the tradeoff between performance impact and added benefit is abysmal. There should at least be an option to disable it.

Laptop specs:
Intel Core i5-1145G7 @ 2.60GHz
16GB of RAM
Intel Iris Xe Graphics
NVMe SSD

By all means it's a fairly decent office laptop, and can handle everyday tasks easily. Furthermore, this causes the PC to slow down, and heat up which causes fans to blow on full.

It's fairly simple to confirm this:

  1. Open up Task Manager (if using Windows, or any alternative in other OS).
  2. Open up TanStack page (e.g., https://tanstack.com/query/latest)
  3. See the CPU and GPU usage raise up.
  4. Switch to a different tab.
  5. See the CPU and GPU usage drop down.

I tried Microsoft Edge, Google Chrome and Mozilla Firefox with similar effects.

@tannerlinsley
Copy link
Collaborator

tannerlinsley commented Jan 17, 2025 via email

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

No branches or pull requests

2 participants