Munter is right. To make matters worse, each timer also launches a fairly large number of JavaScript objects and created DOM elements. This leads to the fact that garbage collection starts wild, which has a very adverse effect on the user experience: for example, animations (both CSS and JS based) will start stuttering, and interaction depending on the real-time reaction to user input will become jerky or non-responsive. (Firefox is probably suffering here.)
First of all, each timer-executed execution also queries the DOM for the rendered sizes of the elements and calls repaints.
source share