How to: Timing Function Execution in Node.js
You can check the runtime of a function in Node.js by using the `console.time()` and `console.timeEnd()` functions. Here's an example with an explanation:

    ```javascript
    function myFunction() {
      console.log("Function started");
      
      // Start the timer
      console.time("myFunction");
    
      // Simulate some time-consuming task
      for (let i = 0; i < 1000000000; i++) {
        // Do some work
      }
    
      // End the timer
      console.timeEnd("myFunction");
    
      console.log("Function ended");
    }
    
    myFunction();