Performance.timeOrigin

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The timeOrigin read-only property of the Performance interface returns the high resolution timestamp of the start time of the performance measurement.

Note:

This feature is available in Web Workers.

Syntax

var timeOrigin = performance.timeOrigin

Value

A high resolution timestamp.

Specifications

Browser compatibility

BCD tables only load in the browser