Created
March 28, 2019 04:12
-
-
Save deleteman/25cc70f15f4fd69baa581a4b0baec28d to your computer and use it in GitHub Desktop.
profile using an external time taker
This file contains hidden or 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
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