Gamote / lottie-react

A lightweight React library for rendering complex After Effects animations in real time using Lottie.
https://lottiereact.com
Other
786 stars 59 forks source link

Verrrrrry high CPU usage #83

Open mnlbox opened 1 year ago

mnlbox commented 1 year ago

I have 4 Lottie animations on my page. I downloaded them from lottiefiles.com but after adding these animations the CPU usage of the page and my system increased a lot. It's always between 80% to 100% and the laptop fan is working constantly but after closing the page everything is OK. Is it normal with Lottie animations? This is just a small personal website with 4 small Lottie animations. I don't know if it's helpful or not but these are the size of my animation files:

Any suggestions for improving the page and CPU performance?

Gamote commented 1 year ago

Hey @mnlbox, thank you for taking the time to report this.

Please create a MRE - Minimal Reproducible Example so we can easily investigate.