title: Measure process time with Node Js?
body: <p>I would like to do the following:</p>
  
  <pre><code>console.time("processA");
  for(let i; i &lt; 10000; i++) {
  // Just to simulate the process
  }
  console.timeEnd("processA");
  </code></pre>
  
  <p>but I want to capture the time end and use my own logger of information with it.</p>
  
  <p>Is it possible to handle the console output of the timeEnd?</p>
  
  <p>How can I measure the time interval of a process in nodejs?</p>