该属性在 Navigation Timing Level 2 specification 种已经被废弃,请使用 Performance.timeOrigin 替代。

Performance.timing 只读属性返回一个 PerformanceTiming 对象,这个对象包括了页面相关的性能信息。

 

语法

timingInfo = performance.timing;

规范

规范名 状态 描述
Navigation Timing
Performance.timing
Recommendation Initial definition

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic support
Deprecated
Chrome Full support 6Edge Full support YesFirefox Full support 7IE Full support 9Opera Full support 15Safari Full support 8WebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 7Opera Android Full support 15Safari iOS Full support 9Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

相关

文档标签和贡献者

标签: 
此页面的贡献者: rguanghui, wenshin
最后编辑者: rguanghui,