If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Base Timer Rate Has Increased

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
When using setTimeout or setInterval the delay between function calls has increased in relation to Firefox 2. The increase has gone similarly to the folowing:
 - setTimeout/setInterval, 0ms (was 10ms, is now 15ms)
 - setTimeout/setInterval, 10ms (was 10ms, is now 15ms)
 - setTimeout, 20ms (was 20ms, is now 25ms)

See the following graphs for context:
http://ejohn.org/files/timers-0.png
http://ejohn.org/files/timers-10.png
http://ejohn.org/files/timers-20.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 the delays would be the same as in the previous version of Firefox and roughly correlate to the desired delay (instead of there being an artificial delay). I'm working on pulling together timer log data to accompany this bug.
(Reporter)

Updated

10 years ago
Depends on: 414013
(Reporter)

Comment 1

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.