Re: Proposal: High resolution (and otherwise improved) timer API

<op.uigu4ins64w2qv@annevk-t60.oslo.opera.com>

Current votes: None.


On Fri, 03 Oct 2008 19:43:34 +0200, Aaron Boodman <aa@google.com> wrote:
> To me, fractional milliseconds does not seem weird. On the webkit-dev
> thread, Peter Speck pointed out [1] that the unit of time in web
> development is milliseconds. Dates are in milliseconds, setTimeout
> takes millisecond arguments, etc. So to me, it would be weird to have
> a new timer API that suddenly uses seconds. And I tend to agree with
> Peter that doing so would be a common source of bugs for web
> developers.

FWIW, <video>/<audio> currently uses seconds, though maybe that's a bug in  
the APIs for those elements...


> [1]  
> https://lists.webkit.org/pipermail/webkit-dev/2008-October/005273.html