Back to Content

Performance: timing property

files/en-us/web/api/performance/timing/index.md

latest679 B
Original Source

{{APIRef("Performance API")}}{{deprecated_header}}

The legacy Performance.timing read-only property returns a {{domxref("PerformanceTiming")}} object containing latency-related performance information.

This property is not available in workers.

[!WARNING] This property is deprecated in the Navigation Timing Level 2 specification. Please use the {{domxref("PerformanceNavigationTiming")}} interface instead.

Value

A {{domxref("PerformanceTiming")}} object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • The {{domxref("Performance")}} interface it belongs to.