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. |
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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
timeOrigin | Chrome Full support 62 | Edge Full support 16 | Firefox Full support 53 | IE ? | 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
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.