Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 271 Bytes

high-resolution-timer.md

File metadata and controls

11 lines (8 loc) · 271 Bytes

High resolution timer

Node.js has a high resolution timer available on the process object that returns a BigInt in nanoseconds:

> process.hrtime.bigint()
91064631083291n

source