High-resolution timestamps

suggest change

performance.now() returns milliseconds since the time origin, as a fractional number. In a document, that origin is the start of navigation. performance.timing is deprecated; the absolute origin is performance.timeOrigin. Browsers coarsen the resolution, so this is not a raw microsecond clock. The value is also available in Node.

const t = performance.now();

A return value of 6288.319 means 6288 milliseconds and 319 microseconds after the time origin.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents