Array.<PerformanceEntry> Performance.getEntriesByType(string entryType)

查看 llm.txt

基础库 2.11.0 开始支持,低版本需做兼容处理。

小程序插件:不支持

功能描述

获取当前缓冲区中所有类型为 [entryType] 的性能数据

参数

string entryType

类型

返回值

Array.<PerformanceEntry>