Skip to content

Instantly share code, notes, and snippets.

@wilsonpage

wilsonpage/app.js

Created Nov 18, 2020
Embed
What would you like to do?
How to create a performance measurement that shows on devtools timeline
performance.mark('myMark-start');
// your code
performance.mark('myMark-end');
performance.measure('myPerfMarker', 'myMark-start', 'myMark-end');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment