Calculating execution time in Javascript
Sun Jun 07 2020 03:10:31 GMT+0000 (UTC)
Saved by @biranchi125 #javascript
Sometimes we need to calculate the time taken by a piece of code to complete execution. The performance.now() can be used to compute the execution time.
https://levelup.gitconnected.com/5-javascript-tricks-that-are-good-to-know-78045dea6678
Comments