Re:Accuracy of JavaScript Time [2008]
by AshleysBrain on Tuesday April 05, 2011 @08:11AM
(#2410590)
Why don't browsers on Windows implement QueryPerformanceCounter (a microsecond precision timer)? In fact, I thought Firefox 4 had done this.
[ Parent
| on HN ]
On Firefox, the console.time and console.profile functions provided by Firebug do this. On Chrome, you can use the chrome.interval object for the same purpose.