console.time("timer名字")

其他脚本

console.timeEnd("timer名字");

 

运行后结果为:
timer名字: 运行时间

 

相关文章:

  • 2021-06-06
  • 2021-06-10
  • 2022-12-23
  • 2021-12-28
  • 2021-12-07
  • 2022-12-23
  • 2021-12-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-08-17
  • 2021-08-10
  • 2022-12-23
  • 2021-12-24
相关资源
相似解决方案