The PerformanceObserver interface is used to observe performance measurement events and be notified of new performance entries as they are recorded in the browser's performance timeline.

Documentation PerformanceObserver by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(callback:(PerformanceObserverEntryList, PerformanceObserver) ‑> Void)

Throws:

null

DOMError

Methods