Skip to content

Instantly share code, notes, and snippets.

@deleteman
Created March 28, 2019 04:12
Show Gist options
  • Save deleteman/25cc70f15f4fd69baa581a4b0baec28d to your computer and use it in GitHub Desktop.
Save deleteman/25cc70f15f4fd69baa581a4b0baec28d to your computer and use it in GitHub Desktop.
profile using an external time taker
let start = (new Date()).getTime()
setTimeout(function() {
let end = (new Date()).getTime()
console.log(end - start )
}, 1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment