![use `console.time()` and `console.timeEnd()` to measure the time taken to execute a piece of code, in JS - DEV Community use `console.time()` and `console.timeEnd()` to measure the time taken to execute a piece of code, in JS - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--q9Z5v8g3--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ybebs8qfdhf396ajy0x1.png)
use `console.time()` and `console.timeEnd()` to measure the time taken to execute a piece of code, in JS - DEV Community
![Retro video tv game console with time clock function and 2.4g double wireless controller built-in 108 games for ps1/n64 | Fruugo FR Retro video tv game console with time clock function and 2.4g double wireless controller built-in 108 games for ps1/n64 | Fruugo FR](https://img.fruugo.com/product/2/24/840804242_max.jpg)
Retro video tv game console with time clock function and 2.4g double wireless controller built-in 108 games for ps1/n64 | Fruugo FR
![LA TIME MACHINE est elle, dans sa gamme, la meilleure console d'émulation ? Je vous donne mon avis ! - YouTube LA TIME MACHINE est elle, dans sa gamme, la meilleure console d'émulation ? Je vous donne mon avis ! - YouTube](https://i.ytimg.com/vi/6qqqiuN5bVg/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLA0sMhAcqPXwUTzEe-SficRPmY3nA)