@stdlib/time-tic
Return a high-resolution time.
Found 5 results for performance.now
Return a high-resolution time.
Return a high-resolution time difference.
Friendly API for `process.hrtime` with some high level - date-pretty format utilities. Ideal to measure how long it take to run a function /fragment of code.
browser microsecond precision via global.performance (if possible), ie. new: performance.now() with fallback to old: Date.now() xor new Date().getTime()
A high-resolution, object-oriented replacement for setTimeout() and setInterval(). Good for animations, progress indicators, carousels, you name it.