getEntriesByName
abstract fun getEntriesByName(name: String, type: EntryType = definedExternally): ReadonlyArray<PerformanceEntry>(source)
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
.
Since
v16.7.0
Parameters
name
type