Documentation/PerformanceObserverEntryList
class

PerformanceObserverEntryList

js/performance.js:17

List of performance observer entries
Passed to PerformanceObserver callback

method

getEntries

js/performance.js:25
getEntries()

Returns an array of all new PerformanceEntry entries' events recorded since last call of callback.

Returns

Array<PerformanceEntry>
method

getEntriesByName

js/performance.js:39
getEntriesByName(name, type)

Returns an array of all new PerformanceEntry entries' events recorded since last call of callback.
Returns array of entries filtered by name (and type (optional))

Parameters

NameTypeDescription
namestring

A string representing the name of the measure.

type = ''optionalstring

A string representing the name of the measure.

Returns

Array<PerformanceEntry>
method

getEntriesByType

js/performance.js:31
getEntriesByType(type)

Returns an array of all new PerformanceEntry entries' events recorded since last call of callback.
Returns array of entries filtered by type

Parameters

NameTypeDescription
typestring

A string representing the name of the measure.

Returns

Array<PerformanceEntry>