Created
October 23, 2019 09:13
-
-
Save shisama/846b6e3c4c55c556fb805ce66c05174c to your computer and use it in GitHub Desktop.
difference between Node.js v12 and v13 about console.timeEnd
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
| const label = 'test'; | |
| console.time(label); | |
| setTimeout(() => { | |
| console.timeEnd(label); | |
| }, 3000); | |
| // 3001.732ms v12 | |
| // 3.001s v13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment