Skip to main content
Version: 3.13.0

performance.now()

The performance.now() method returns a high resolution timestamp in milliseconds. It represents the time elapsed since performance.timeOrigin (the time when the worker was instantiated).

Syntax

now()

Parameters

None.

Return value

Returns a number which represents the time since worker instantation measured in milliseconds.