I can easily do this:
console.time(\'mytimer\');
doSomeWork();
console.timeEnd(\'mytimer\');
But is it possible to calculate time in multiple f
There is a solution which is a living standard. Seems like its already on chrome and major browsers and nodejs
https://developer.mozilla.org/en-US/docs/Web/API/Console/timeLog
console.time("answer time");
alert("Click to continue");
console.timeLog("answer time");
alert("Do a bunch of other stuff...");
console.timeEnd("answer time");
The