Skip to content

Instantly share code, notes, and snippets.

@Fintan
Created June 20, 2019 12:43
Show Gist options
  • Save Fintan/6968be92a7fb83e1c0475810cf8fb2ea to your computer and use it in GitHub Desktop.
Save Fintan/6968be92a7fb83e1c0475810cf8fb2ea to your computer and use it in GitHub Desktop.
window.performance.mark('mark_before_createWidget');
createWidget();
window.performance.mark('mark_after_createWidget');
window.performance.measure('mark_before_createWidget', 'mark_after_createWidget');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment