files/en-us/web/api/performancetiming/index.md
{{APIRef("Performance API")}}{{Deprecated_Header}}
[!WARNING] This interface is deprecated in the Navigation Timing Level 2 specification. Please use the {{domxref("PerformanceNavigationTiming")}} interface instead.
The PerformanceTiming interface is a legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the {{domxref("Performance.timing", "window.performance.timing")}} property.
The PerformanceTiming interface doesn't inherit any properties.
These properties each describe the time at which a particular point in the page loading process was reached. Some correspond to DOM events; others describe the time at which internal browser operations of interest took place.
Each time is provided as a number representing the moment, in milliseconds since the UNIX epoch.
These properties are listed in the order in which they occur during the navigation process.
PerformanceTiming.fetchStart.0.0.0.0.PerformanceTiming.fetchStart.PerformanceTiming.fetchStart.PerformanceTiming.fetchStart.PerformanceTiming.fetchStart. A connection is considered as opened when all secure connection handshake, or SOCKS authentication, is terminated.0.'loading' and the corresponding {{domxref("Document/readystatechange_event", "readystatechange")}} event is thrown.'interactive' and the corresponding {{domxref("Document/readystatechange_event", "readystatechange")}} event is thrown.'complete' and the corresponding {{domxref("Document/readystatechange_event", "readystatechange")}} event is thrown.0.0.The PerformanceTiming interface doesn't inherit any methods.
PerformanceTiming object.{{Specifications}}
{{Compat}}