Multiple timers bug in Mozilla/Firefox

1s

This tests how accurately a browser can run multiple intervals. 100 interval timers are set to fire once every second. X offset represents the timer number. Y offset represents the offset from one second.

Ideal response is a straight horizontal line 100px long, remaining in the same place on the page (it does not matter how far down the page). It is normal to move slowly down the page (timers usually take a few ms longer than the specified time).

Because of how long it takes to start the timers, it is also normal for the line to be slightly broken. This also does not matter (as long as it is not too broken). For the best response, the amount of breakage in the line should not change. If the pieces become separated further from each other, the timers are not managing to maintain the same interval as each other.

To minimise the effects caused by other programs, the browser being tested should ideally be the only program running.

Workaround: don't use so many timers :) Use a single timer, and get it to do all the tasks that you need.

Reported; several bug reports cover this issue in Mozilla/Firefox: 234016, 240779, 250871.