Search results
71 packages found
A small collection of useful functions to work with Node.js `process.hrtime` values
This module represents a class for measuring and logging code execution time, both in browser and in node.js, based on [performance.now()](https://developer.mozilla.org/en-US/docs/Web/API/Performance/now) and [process.hrtime.bigint()](https://nodejs.org/a
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Simple high resolution timer for node
log the elapsed time of your code running
🙌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`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
A tiny library for configurable virtual clocks
A high-resoultion stopwatch for Node.
mocking lib for process.hrtime
Simple timer for Node.js and browser
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Converts a time in nanoseconds to a pretty string in the most convenient units.
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Returns arbitrary time diffs in nanoseconds, falling back to performance.now or Date.now if process.hrtime is not available.
Route middleware for Koa and Express that adds a request received high-resolution timer and Date to the request object using easily accessible Symbols to prevent request object pollution. Made for Cabin.
A basic timer for performance testing which uses high resolution time and falls back to low resolution if required.
A minimal NodeJS module to compare timestamps.
Performance (User Timing API) for Node.js
Record time spent on GC in high resolution