Skip to content

Instantly share code, notes, and snippets.

@kevinmamaqi
Created August 18, 2020 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinmamaqi/daf1e395d03c3602d4d6b58a29664192 to your computer and use it in GitHub Desktop.
Save kevinmamaqi/daf1e395d03c3602d4d6b58a29664192 to your computer and use it in GitHub Desktop.
var t0 = performance.now();
myFunction();
var t1 = performance.now();
console.log("Call to dates took " + (t1 - t0) + " milliseconds.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment