Skip to content

Instantly share code, notes, and snippets.

@jameyquinn
Created March 27, 2014 17:09
Show Gist options
  • Select an option

  • Save jameyquinn/9812756 to your computer and use it in GitHub Desktop.

Select an option

Save jameyquinn/9812756 to your computer and use it in GitHub Desktop.
js high res performance timer
start = performance.now();
//code
console.log('add marker: ' + String(performance.now() - start) + 'ms');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment