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