Skip to content

Instantly share code, notes, and snippets.

@temberature
Last active November 22, 2018 07:32
Show Gist options
  • Save temberature/3a08ed75d8f8684a550fc0231da25482 to your computer and use it in GitHub Desktop.
Save temberature/3a08ed75d8f8684a550fc0231da25482 to your computer and use it in GitHub Desktop.
performace.timing readable
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