performance.getEntriesByType(type)
type<string>- 返回: <PerformanceEntry[]>
返回按时间顺序排列的 PerformanceEntry 对象列表,其中 performanceEntry.startTime 的 performanceEntry.entryType 等于 type。
type<string>- Returns: <PerformanceEntry[]>
Returns a list of PerformanceEntry objects in chronological order
with respect to performanceEntry.startTime whose performanceEntry.entryType
is equal to type.