getEntriesByName

fun getEntriesByName(name: String, type: String = definedExternally): PerformanceEntryList(source)

The getEntriesByName() method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.name and PerformanceEntry.entryType.

MDN Reference