Last active
August 26, 2022 06:13
-
-
Save kvalood/3c162590a70dea195a0d854d0a72c95f to your computer and use it in GitHub Desktop.
[JS] - Измерить время исполнения в микросекундах
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
var time = performance.now(); | |
// your code | |
time = performance.now() - time; | |
console.log('Время выполнения = ', time); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment