Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Animations with JavaScript are CPU intensive by design.
CPU usage will go up during transitions from one slide to another. You can not avoid it.
If you want to minimize CPU usage you need to use short transition times.
Using transition speeds of half a second are Ok.
You can also use longer timeouts between the transitions to minimize CPU usage.
Comments
Comment #1
ppblaauw commentedAnimations with JavaScript are CPU intensive by design.
CPU usage will go up during transitions from one slide to another. You can not avoid it.
If you want to minimize CPU usage you need to use short transition times.
Using transition speeds of half a second are Ok.
You can also use longer timeouts between the transitions to minimize CPU usage.
Hope this answers your issue.