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.