@nia3208/pretty-ms
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Like `performance.now()` but in nanoseconds.
Record time spent on GC in high resolution
Simple timer for Node.js and browser
🙌A set of handy-dandy functions to cast, compare and process hrtime tags.
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
A minimal NodeJS module to compare timestamps.
package to calculate the difference between two process hrtime
A basic timer for performance testing which uses high resolution time and falls back to low resolution if required.
Returns arbitrary time diffs in nanoseconds, falling back to performance.now or Date.now if process.hrtime is not available.
Converts a time in nanoseconds to a pretty string in the most convenient units.
Benchmark your JS projects with nanosecond resolution
High-Resolution Time Format
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
A tiny, high-resolution game loop for NodeJS 10+. Utilizes the `setImmediate` and `setTimeout` schedulers in conjunction to maintain a balance of precision and performance.
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Nanosecond profiler and logger
Get miliseconds from process.hrtime()
A small collection of useful functions to work with Node.js `process.hrtime` values
ultility to measure execution time