[webkit-dev] setTimeout as browser speed throttle
ggaren at apple.com
Tue Sep 30 12:58:15 PDT 2008
> Or there is option 3:
> 3) Restore the clamp for setTimeout and setInterval to 10ms for
> compatibility, and add a new setHighResTimer API that does not have
> any lower bound.
I'd like to tweak this suggestion a bit:
Let's make this new timer API object-oriented, so it can be both less
slow and less crazy than setTimeout / setInterval. There are many
base a new API.
Perhaps a Timer object would always be high resolution, or perhaps it
would have an "isHighResolution" bit.
More information about the webkit-dev