Created
September 13, 2009 19:51
-
-
Save eligrey/186307 to your computer and use it in GitHub Desktop.
High-resolution JavaScript timer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of August 2010,
chromium.Interval
was moved tochrome.Interval
. Also, in recent versions of Chromium,window.chromium === undefined
(of course, the same goes for Chrome). They now both usewindow.chrome
instead. You might want to update your script.Thanks for the heads up on
chrome.Interval
by the way — @jdalton recently added this to Benchmark.js.