console.time("timer名字")

其他脚本

console.timeEnd("timer名字");

 

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

 

posted on 2016-04-12 14:17  今夜太冷  阅读(417)  评论(0编辑  收藏  举报