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

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

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
timeOrigin
Experimental
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 ?

Legend

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.

Document Tags and Contributors

Last updated by: mdnwebdocs-bot,