Search results
70 packages found
Calculates a diff in milliseconds between invocations.
A dead simple benchmarking framework
- benchmark
- benchmarking
- simple
- framework
- async
- asynchronous
- async setup
- await
- promise
- save
- performance
- perf
- test
- testing
- View more
Simple timer for Node.js and browser
Get the number of microseconds elapsed since January 1, 1970 00:00:00 UTC without fear of clock drift
log the elapsed time of your code running
Benchmarking & profiling utilities w/ various statistics & formatters (CSV, JSON, Markdown etc.)
Nanosecond profiler and logger
Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.
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 simple idea I came up with while working on something else. Seemed like a fun mini-project, so decided to package it xD
- nodejs
- time
- performance
- async
- timer
- promise
- speed
- execution
- async-await
- hrtime
- timer-application
- execution-time
- measure-time
- time-taken
use process.hrtime() in the browser
Simplifies high resolution timing for profiling
A simple Stopwatch class using process.hrtime to measure time in milliseconds.
A small collection of useful functions to work with Node.js `process.hrtime` values
Simple high resolution timer for node
A tiny library for configurable virtual clocks
Easily convert time strings to milliseconds and the other way around
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
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.
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