js/performance.js:17
List of performance observer entries
Passed to PerformanceObserver callback
List of performance observer entries
Passed to PerformanceObserver callback
getEntries()
Returns an array of all new PerformanceEntry entries' events recorded since last call of callback.
Array<PerformanceEntry>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))
| Name | Type | Description |
|---|---|---|
name | string | A string representing the name of the measure. |
type = ''optional | string | A string representing the name of the measure. |
Array<PerformanceEntry>getEntriesByType(type)
Returns an array of all new PerformanceEntry entries' events recorded since last call of callback.
Returns array of entries filtered by type
| Name | Type | Description |
|---|---|---|
type | string | A string representing the name of the measure. |
Array<PerformanceEntry>