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.


var timeOrigin = performance.timeOrigin


A high resolution timestamp.


Specification Status
High Resolution Time Level 2
The definition of 'timeOrigin' in that specification.
Candidate Recommendation

Browser Compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Chrome Full support 62Edge Full support 16Firefox Full support 53IE ? Opera Full support 49Safari No support NoWebView Android Full support 62Chrome Android Full support 62Firefox Android Full support 53Opera Android Full support 46Safari iOS No support NoSamsung Internet Android ?


Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.