diff --git a/README.md b/README.md index d58dd12..fb2e613 100644 --- a/README.md +++ b/README.md @@ -4989,10 +4989,10 @@ You can check the runtime of a function in Node.js by using the `console.time()` - After the loop is finished, we end the timer using `console.timeEnd("myFunction")`. - Finally, we use `console.log` to print a message indicating the end of the function. - ```javaScript - Function started - myFunction: 5431.709ms - Function ended + +Function started +myFunction: 5431.709ms +Function ended The time in milliseconds (ms) represents the runtime of the function `myFunction`. You can use this approach to measure the runtime of specific parts of your code to identify performance bottlenecks or optimize your code.