files/en-us/web/api/performance/index.md
{{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}}
The Performance interface doesn't inherit any properties.
timing, including whether the page was a load or a refresh, how many redirections occurred, and so forth.The Performance interface doesn't inherit any methods.
"resource" from the browser's performance data buffer."resource" {{domxref("PerformanceEntry.entryType","type")}} {{domxref("PerformanceEntry")}} objects.Performance object.Listen to these events using addEventListener() or by assigning an event listener to the oneventname property of this interface.
{{Specifications}}
{{Compat}}