console.time([label])
label<string> 默认值:'default'
启动一个计时器,可用于计算操作的持续时间。计时器通过唯一的 label 来标识。在调用 console.timeEnd() 停止计时器并将经过的时间以适当的时间单位输出到 stdout 时,请使用相同的 label。例如,如果经过的时间为 3869 毫秒,console.timeEnd() 会显示 "3.869s"。
【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
suitable time units to stdout. For example, if the elapsed
time is 3869ms, console.timeEnd() displays "3.869s".】