console.timeEnd(label)
Stops a timer that was previously started by calling console.time()
and prints the result to stdout:
console.time('100-elements'); for (var i = 0; i < 100; i++) { ; } console.timeEnd('100-elements'); // prints 100-elements: 225.438ms
Please login to continue.