airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
30.38k stars 2.87k forks source link

Performance: Firefox vs Chrome #2209

Open jerfeson opened 4 years ago

jerfeson commented 4 years ago

It is in the plans to perform an optimization of the library for firefox, I have noticed inferior performance, when I compare animations presented in firefox and chrome, animations in chrome are smoother, without gagging, when in firefox, things don 't work properly fluid.

bodymovin commented 4 years ago

Unfortunately some feature degrade performance on firefox significantly, like matte masks or effects. For now there are no plans on improving it since the player relies on the native svg / canvas implementations of each browser.

dzunik91 commented 4 years ago

Hello @bodymovin I am facing different issue, chrome animation is lagging and its around 17 FPS while on Firefox I am getting almost smooth like butter average of 52 fps. What are the "golden settings" for best performance across ale the browsers ?

cheers