Search results
71 packages found
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
A simple Stopwatch class using process.hrtime to measure time in milliseconds.
timing functions using process.hrtime
Performance (User Timing API) for Node.js
Helper class to help with timers and stuff.
🙌A set of handy-dandy functions to cast, compare and process hrtime tags.
Fake the system time (Date, hrtime) in your tests, without freezing it (unlike in many other libraries). Freeze only when you need.
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
Convert milliseconds to a human readable string: `133700000000` → `4 Years 2 Months 27 Days 10 Hours 53 Minutes 2 Seconds` Usage ```js const ms = require(`timecraft`) ms(`133700000000`) // Output=> 4 Years 2 Months 27 Days 10 Hours 53 Minutes 2 Seconds ``
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
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
Benchmark your node.js projects with nanosecond resolution
High-resolution timer class for NodeJs & browsers
package to calculate the difference between two process hrtime
Customizable, high-res replacement for console.time() for Node.js and browsers
High-Resolution Time Format
Record time spent on GC in high resolution
A minimal NodeJS module to compare timestamps.
Milisaniye tarzındaki süreyi gün, saat, dakika, saniye şeklinde çevirir.
- slender
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
A simple Stopwatch class using process.hrtime to measure time in milliseconds.