开发者文档
小程序
快速入门
能力
开发
设计
经营
社区
控制台
登录
开发
教程
框架
组件
JS API
服务端 OpenAPI
行业插件
开发工具
更新日志
JS API 列表
基础
tt.canIUse
tt.base64ToArrayBuffer
tt.arrayBufferToBase64
生命周期
tt.canIPutStuffOverComponent
版本更新
定时器
应用级事件
环境变量
性能
tt.performance.createObserver
tt.performance.setBufferSize
tt.performance.getEntries
tt.performance.getEntriesByName
tt.performance.getEntriesByType
tt.performance.getCurrentPageEntries
tt.performance.getEntriesByPage
tt.performance.mark
tt.performance.clearMarks
PerformanceEntry
线程
窗口尺寸变化
tt.setPageInfo
TTML
网络
媒体
地图
文件
数据缓存
地理位置
设备
画布
界面
页面导航
开放接口
行业开放
第三方平台
其它
开发
/
JS API
/
基础
/
性能
/
tt.performance.getEntriesByPage
tt.performance.getEntriesByPage
收藏
我的收藏
基础库 1.60.0 开始支持本方法,低版本需做
兼容处理
。这是一个同步方法。
获取当前缓冲区中页面路径为 [pagePath] 的性能数据。
语法
tt
参数
pagePath
类型
默认值
必填
说明
最低支持版本
string
是
期望获取性能数据页面的 pagePath
1.60.0
返回值
Array,
PerformanceEntry
集合。
代码示例
Bug & Tip
无