--- title: Performance.timing slug: Web/API/Performance/timing tags: - Navigation Timing - Navigation Timing API - Performance translation_of: Web/API/Performance/timing ---
{{APIRef("Navigation Timing")}}{{deprecated_header}}
该属性在 Navigation Timing Level 2 specification 中已经被废弃,请使用 {{domxref("Performance.timeOrigin")}} 替代。
Performance
.timing
只读属性返回一个 {{domxref("PerformanceTiming")}} 对象,这个对象包括了页面相关的性能信息。
timingInfo = performance.timing;
规范名 | 状态 | 描述 |
---|---|---|
{{SpecName('Navigation Timing', '#sec-window.performance-attribute', 'Performance.timing')}} | {{Spec2('Navigation Timing')}} | Initial definition |
{{Compat("api.Performance.timing")}}