mozilla

PerformanceTiming

PerformanceTiming 接口包含了当前页面中与时间相关的信息.

Performance.timing 只读属性会返回这样的一个对象.

属性

Performance 接口不包含任何继承属性.

PerformanceTiming.navigationStart 只读
Is an unsigned long long representing the moment, in miliseconds since the UNIX epoch, right after the prompt for unload terminated on the previous document in the same browsing context. If there is no previous document, this value will be the same as PerformanceTiming.fetchStart.
PerformanceTiming.unloadEventStart 只读
Is an unsigned long long representing
PerformanceTiming.unloadEventEnd 只读
Is an unsigned long long representing
PerformanceTiming.redirectStart 只读
Is an unsigned long long representing
PerformanceTiming.redirectEnd 只读
Is an unsigned long long representing
PerformanceTiming.fetchStart 只读
Is an unsigned long long representing
PerformanceTiming.domainLookupStart 只读
Is an unsigned long long representing
PerformanceTiming.domainLookupEnd 只读
Is an unsigned long long representing
PerformanceTiming.connectStart 只读
Is an unsigned long long representing
PerformanceTiming.connectEnd 只读
Is an unsigned long long representing
PerformanceTiming.secureConnectionStart 只读
Is an unsigned long long representing
PerformanceTiming.navigationStart 只读
Is an unsigned long long representing
PerformanceTiming.navigationStart 只读
Is an unsigned long long representing
PerformanceTiming.requestStart 只读
Is an unsigned long long representing
PerformanceTiming.responseStart 只读
Is an unsigned long long representing
PerformanceTiming.responseEnd 只读
Is an unsigned long long representing
PerformanceTiming.domLoading 只读
Is an unsigned long long representing
PerformanceTiming.domInteractive 只读
Is an unsigned long long representing
PerformanceTiming.domContentLoadedEventStart 只读
Is an unsigned long long representing
PerformanceTiming.domContentLoadedEventEnd 只读
Is an unsigned long long representing
PerformanceTiming.domComplete 只读
Is an unsigned long long representing
PerformanceTiming.loadEvenStart 只读
Is an unsigned long long representing
PerformanceTiming.loadEventEnd 只读
Is an unsigned long long representing
 

方法

Performance 接口不包含任何方法.

规范

规范名称 规范状态 说明
Navigation Timing
PerformanceTiming
Recommendation Initial definition.

浏览器兼容性

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 6.0 7.0 (7.0) 9.0 15.0 未实现
Feature Android Firefox Mobile (Gecko) Firefox OS IE Phone Opera Mobile Safari Mobile
Basic support 未实现 7.0 (7.0) 1.0 (7.0) 9.0 15.0 未实现

相关链接

文档标签和贡献者

向此页面作出贡献: teoli, ziyunfei
最后编辑者: teoli,