Created
June 27, 2014 16:56
-
-
Save fredchu/7b7fa0a09787f77c7b38 to your computer and use it in GitHub Desktop.
JavaScript speed test
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
console.time('a'); | |
// execute some JavaScript | |
console.timeEnd('a'); | |
// the result showed in console is the duration that block of JavaScript spent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment