Performance.timeOrigin
Experimental: 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 |
|---|
| High Resolution Time # dom-performance-timeorigin |
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
timeOrigin |
62 |
16 |
53 |
No |
49 |
preview |
62 |
62 |
53 |
46 |
No |
8.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin