tt.performance.getEntriesByPage
收藏
我的收藏

基础库 1.60.0 开始支持本方法,低版本需做兼容处理。这是一个同步方法。
获取当前缓冲区中页面路径为 [pagePath] 的性能数据。

语法

tt

参数

pagePath

类型
默认值
必填
说明
最低支持版本
string
期望获取性能数据页面的 pagePath
1.60.0

返回值

Array, PerformanceEntry 集合。

代码示例

Bug & Tip