Last active
February 8, 2018 22:31
-
-
Save BrockReece/fbda03b762b717063e7ba5f613a4556e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const observer = new PerformanceObserver(list => { | |
list.getEntries().forEach((entry) => { | |
//handle each performance mark | |
}) | |
}) | |
observer.observe({ entryTypes: [ 'mark', 'measure'] }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment