Skip to content

Instantly share code, notes, and snippets.

@stefanocudini
Created May 2, 2012 01:18
Show Gist options
  • Select an option

  • Save stefanocudini/2572844 to your computer and use it in GitHub Desktop.

Select an option

Save stefanocudini/2572844 to your computer and use it in GitHub Desktop.
javascritp simple test performance
var start = new Date().getMilliseconds();
//operations
var end = new Date().getMilliseconds();
var diff = end - start;
console.log(diff);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment