Skip to main content
Version: 3.x

EntryList

EntryList 对象

支持情况:

参考文档

方法

getEntries

该方法返回当前列表中的所有性能数据

支持情况:

参考文档

() => PerformanceEntry[]

getEntriesByName

获取当前列表中所有名称为 [name] 且类型为 [entryType] 的性能数据

支持情况:

参考文档

(name: string, entryType: string) => PerformanceEntry[]
参数类型
namestring
entryTypestring

getEntriesByType

获取当前列表中所有类型为 [entryType] 的性能数据

支持情况:

参考文档

(entryType: string) => PerformanceEntry[]
参数类型
entryTypestring

API 支持度

API微信小程序H5React Native
EntryList✔️
EntryList.getEntries✔️
EntryList.getEntriesByName✔️
EntryList.getEntriesByType✔️