Performance.getEntriesByType

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

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

小程序插件:不支持

功能描述

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

参数

string entryType

类型

返回值

Array.<PerformanceEntry>

posted on 2024-12-31 19:00  AtlasLapetos  阅读(14)  评论(0)    收藏  举报