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