code: function hrtimer() {
      const start = process.hrtime();
  
      return () => {
        const durationComponents = process.hrtime(start);
        const seconds = durationComponents[0];
        const nanoseconds = durationComponents[1];
        const duration = (seconds * 1000) + (nanoseconds / 1E6);
        return duration;
      };
    }
docs: High-resolution timer