End a timer to log with console.time
method
Console.timeEnd
@param label
The label to use for the timer
console.time("how long????");
for (let i = 0; i < 999999; i++) {
// do stuff
let x = i * i;
}
console.timeEnd("how long????");
method
The label to use for the timer
console.time("how long????");
for (let i = 0; i < 999999; i++) {
// do stuff
let x = i * i;
}
console.timeEnd("how long????");