console.time([label])


启动可用于计算操作持续时间的计时器。 计时器由唯一的 label 标识。

Starts a timer that can be used to compute the duration of an operation. Timers are identified by a unique label. Use the same label when calling console.timeEnd() to stop the timer and output the elapsed time in milliseconds to stdout. Timer durations are accurate to the sub-millisecond.