How do I measure the execution time of JavaScript code with callbacks

welcome to shbcf.ru