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 Comment
High Resolution Time Level 3
The definition of 'timeOrigin' in that specification.
Editor's Draft Initial definition.

Browser Compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic support
Chrome Full support 62Edge ? Firefox Full support 59IE ? Opera Full support 49Safari No support NoWebView Android Full support 62Chrome Android Full support 62Edge Mobile ? Firefox Android Full support 59Opera Android Full support 49Safari 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.

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, TimothyGu, jpmedley
Last updated by: fscholz,