3 ms·
Why don't browsers on Windows implement QueryPerformanceCounter (a microsecond precision timer)? In fact, I thought Firefox 4 had done this.
by AshleysBrain 16y ago
Why don't browsers on Windows implement QueryPerformanceCounter (a microsecond precision timer)? In fact, I thought Firefox 4 had done this.
- pjscott 16y agoOn 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. http://getfirebug.com/wiki/index.php/Console_API http://getfirebug.com/wiki/index.php/Console_API https://github.com/eligrey/timer.js https://github.com/eligrey/timer.js