Array.<PerformanceEntry> Performance.getEntriesByType(string entryType)
基础库 2.11.0 开始支持,低版本需做兼容处理。
小程序插件:不支持
功能描述
获取当前缓冲区中所有类型为 [entryType] 的性能数据
参数
string entryType
类型
返回值
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.