Timers dropping to 0ms

RESOLVED WORKSFORME

Status

()

Core
DOM: Core & HTML
RESOLVED WORKSFORME
10 years ago
10 years ago

People

(Reporter: John Resig, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
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.
(Reporter)

Comment 1

10 years ago
I'm working on pulling together timer log data to accompany this bug, I should have it soon.
(Reporter)

Updated

10 years ago
Depends on: 414013
(Reporter)

Comment 2

10 years ago
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
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.