docs.rodeo

MDN Web Docs mirror

Performance

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

The Performance interface provides access to performance-related information for the current page.

Performance entries are specific to each execution context. You can access performance information for code running in a window via {{domxref("Window.performance")}} , and for code running in a worker via {{domxref("WorkerGlobalScope.performance")}} .

{{InheritanceDiagram}} 

Instance properties

The Performance interface doesn’t inherit any properties.

Instance methods

The Performance interface doesn’t inherit any methods.

Events

Listen to these events using addEventListener() or by assigning an event listener to the oneventname property of this interface.

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

In this article

View on MDN