This is an experimental technologyCheck 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 2The definition of 'timeOrigin' in that specification. | Recommendation |
Browser Compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Chrome
Full support 62 |
Edge
Full support 16 |
Firefox
Full support 53 |
IE
No support No |
Opera
Full support 49 |
Safari
No support No |
WebView Android
Full support 62 |
Chrome Android
Full support 62 |
Firefox Android
Full support 53 |
Opera Android
Full support 46 |
Safari iOS
No support No |
Samsung Internet Android
Full support 8.0 |
Legend
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.'
- Experimental. Expect behavior to change in the future.
Performance.timeOrigin by Mozilla Contributors is licensed under CC-BY-SA 2.5.