On 04/16/2010 11:50 PM, Yong Li wrote: > Hi All > > The default implementation of JS Date is calling currentTime() (by > jsCurrentTime()), so it assumes currentTime() returns current UTC time, > and system UTC time can be changed. However, currentTime() is also used > in most cases as a system tick count, which means it should always be > monotonically increasing. I guess we should remove the dependency on > currentTime() from JS Date to fix the confliction.
Hi, slightly related. I once had a patch to use clock_gettime but I discarded it as the call is slower than gettimeofday. I have a micro benchmark for that here[1]. z. [1] http://gitorious.org/qtwebkit/performance/blobs/master/reductions/time/time.cc _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

