performanceObserverEntryList.getEntriesByType(type)


返回按时间顺序排列的 PerformanceEntry 对象列表,其中 performanceEntry.startTimeperformanceEntry.entryType 等于 type

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