Re: Specifying window.performance.now()

On 2/28/12 7:26 PM, David Mandelin wrote:
> The main application of Performance.now seems to be relative timing, which doesn't particularly require any origin. It seems to me to be a bit easier to allow an arbitrary origin, so that the implementation doesn't have to track a zero time and subtract. Do some important applications require zero to be start of navigation?

The issue is that there are situations where times the browser has to 
pass times to script that should be compared to navigation timing times 
and performance.now() times.  So having a single timebase for all of 
these is a really good idea.

See for example discussion in 
https://bugzilla.mozilla.org/show_bug.cgi?id=453650 about matching other 
timescales to performance.now()

-Boris

Received on Wednesday, 29 February 2012 17:24:19 UTC