Created
April 7, 2019 19:48
-
-
Save marcosrivasr/757678b76490112343a74900b451114b to your computer and use it in GitHub Desktop.
Medir tiempo de ejecución de un procedimiento
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
// se inicializa la función con un nombre | |
console.time('proceso01'); | |
// se ejecuta el proceso o código que se quiere medir | |
// ... | |
// se detiene el contador | |
console.timeEnd('proceso01'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment