Closed Bug 412896 Opened 17 years ago Closed 16 years ago

Timers dropping to 0ms

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jeresig, Unassigned)

References

()

Details

There are a number of instances where when using setTimeout or setInterval (with a delay of 0ms or 10ms) the delay between function calls will randomly drop to 0ms.

See the following graphs for context:
http://ejohn.org/files/timers-0.png
http://ejohn.org/files/timers-10.png
http://ejohn.org/files/intervals-0.png
http://ejohn.org/files/intervals-10.png

and the blog post in the URL.

The expected result is that there remains, at least, some sort of delay between the calls, rather than none.
I'm working on pulling together timer log data to accompany this bug, I should have it soon.
Depends on: 414013
Fixed in the nightlies:
http://ejohn.org/files/ff3-timers.png

(left column is 0, 10, 15ms setInterval, right column is 0, 10, 15ms setTimeout)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.