1 Answer
New AnswerHello, Try it for yourself! Put this code at the level of the code you want to test: window.PerformanceTestStart = performance.now(); And this one at the end: console.log(`Performance Test: ${performance.now() - PerformanceTestStart} ms`); It gives you the execution time in milliseconds.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message