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

View on Github