console.time() – The performance debug hotness
console.time('myMethod()'); console.timeEnd('myMethod()'); These two simple lines will help you get to the bottom of your web performance bottlenecks in your timeline. Start tracking: console.time('myMethod()'); console.time() […]