Last active
November 22, 2018 07:32
-
-
Save temberature/3a08ed75d8f8684a550fc0231da25482 to your computer and use it in GitHub Desktop.
performace.timing readable
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
Object.entries(performance.timing.toJSON()).forEach(time => { | |
console.log(Number((time[1] - performance.timing.navigationStart)/1000).toFixed(2), time[0]); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment