performance.now() returns a precise timestamp: The number of milliseconds, including microseconds, since the current web page started to load.
More generally, it returns the time elapsed since the performanceTiming.navigationStart event.
t = performance.now();
For example, in a web browser's ma...