代码块的性能分析
console.time("My operation"); //需要分析性能的代码块放这 console.timeEnd("My operation");
//VM246:1 My operation: 1167.72021484375 ms