microwatch
Stopwatch with microseconds (1/1000th of millisecond) resolution
Install
npm install microwatch
Usage
// microsecond microwatchstopwatch = 'microwatch' // start() automatically calledstopwatchstart // start watch at 0duration = stopwatch // 1 // floating point microwatch in secondsstopwatch = 'microwatch'true // start() automatically calledstopwatchstart // start watch at 0duration = stopwatch // 0.000001