Used to provide access to the PerformanceEntry instances passed to a PerformanceObserver. The constructor of this class is not exposed to users.

See also:

Methods

getEntries():Array<PerformanceEntry>

Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime.

getEntriesByName(name:String, ?type:PerformanceEntryType):Array<PerformanceEntry>

Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type.

getEntriesByType(type:PerformanceEntryType):Array<PerformanceEntry>

Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime whose performanceEntry.entryType is equal to type.