PerformanceObserver

Overview

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.

Location

Required Methods


takeRecords

Returns the current list of performance entries stored in the performance observer, emptying it out.

 

method takeRecords: array of Performance

 

Performance[] takeRecords()

 

func takeRecords() -> Performance...

 

Performance[] takeRecords()

 

Function takeRecords() As Performance()