--- title: Performance.timeOrigin slug: Web/API/Performance/timeOrigin translation_of: Web/API/Performance/timeOrigin ---
{{SeeCompatTable}}{{APIRef("High Resolution Time")}}
接口 {{domxref("Performance")}} 的只读属性 timeOrigin
返回一个表示 the performance measurement 开始时间的高精度 timestamp
var timeOrigin = performance.timeOrigin
高精度 timestamp,例如 1518354643295.86
Specification | Status | Comment |
---|---|---|
{{SpecName('Highres Time Level 3','#dom-performance-timeorigin','timeOrigin')}} | {{Spec2('Highres Time Level 3')}} | Initial definition. |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatChrome(62)}} | {{CompatGeckoDesktop(59)}} | {{CompatUnknown}} | {{CompatOpera(49)}} | {{CompatUnknown}} |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | {{CompatChrome(62)}} | {{CompatChrome(62)}} | {{CompatGeckoMobile(59)}} | {{CompatUnknown}} | {{CompatOperaMobile(49)}} | {{CompatUnknown}}只读属性 timeOrigin timestampperformance.timeOrigin |