Created
October 25, 2020 19:31
-
-
Save ravecat/067b812b5a91e6c665b00b9ccbd2f736 to your computer and use it in GitHub Desktop.
node, time, benchmark
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 begin = process.hrtime.bigint(); | |
{...} | |
const diff = (process.hrtime.bigint() - begin) / 1000000n; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment