摘要:
PreDownloadSubpackageTask 基础库 2.27.3 开始支持,低版本需做兼容处理。 预下载分包任务实例,用于获取分包预下载状态 方法 PreDownloadSubpackageTask.onProgressUpdate(function listener) 监听分包加载进度变化 阅读全文
posted @ 2024-12-31 19:38
AtlasLapetos
阅读(11)
评论(0)
推荐(0)
摘要:
PreDownloadSubpackageTask wx.preDownloadSubpackage(Object object) 基础库 2.27.3 开始支持,低版本需做兼容处理。 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 微信 鸿蒙 OS 版:支持 功能描述 阅读全文
posted @ 2024-12-31 19:31
AtlasLapetos
阅读(81)
评论(0)
推荐(0)
摘要:
PerformanceObserver.observe(Object options) 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 开始监听 参数 Object options 设置 type 监听单个类型的指标,设置 entryTypes 监听多个类型指标。 阅读全文
posted @ 2024-12-31 19:30
AtlasLapetos
阅读(6)
评论(0)
推荐(0)
摘要:
PerformanceObserver.disconnect() 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 停止监听 阅读全文
posted @ 2024-12-31 19:08
AtlasLapetos
阅读(6)
评论(0)
推荐(0)
摘要:
PerformanceObserver 基础库 2.11.0 开始支持,低版本需做兼容处理。 PerformanceObserver 对象,用于监听性能相关事件 属性 Array supportedEntryTypes 获取当前支持的所有性能指标类型 方法 PerformanceObserver.o 阅读全文
posted @ 2024-12-31 19:04
AtlasLapetos
阅读(8)
评论(0)
推荐(0)
摘要:
PerformanceEntry 相关文档: 性能优化 单条性能数据。具体数据口径请参考性能数据文档 属性 string entryType 指标类型 entryType 的合法值 值 说明 最低版本 navigation 路由 render 渲染 script 脚本 string name 指标名 阅读全文
posted @ 2024-12-31 19:02
AtlasLapetos
阅读(11)
评论(0)
推荐(0)
摘要:
Performance.setBufferSize(number size) 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 设置缓冲区大小,默认缓冲 30 条性能数据 参数 number size 阅读全文
posted @ 2024-12-31 19:01
AtlasLapetos
阅读(4)
评论(0)
推荐(0)
摘要:
Array.<PerformanceEntry> Performance.getEntriesByType(string entryType) 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 获取当前缓冲区中所有类型为 [entryType] 的性能数据 参数 s 阅读全文
posted @ 2024-12-31 19:00
AtlasLapetos
阅读(14)
评论(0)
推荐(0)
摘要:
Array.<PerformanceEntry> Performance.getEntriesByName(string name, string entryType) 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 获取当前缓冲区中所有名称为 [name] 且类 阅读全文
posted @ 2024-12-31 18:57
AtlasLapetos
阅读(25)
评论(0)
推荐(0)
摘要:
Array.<PerformanceEntry> Performance.getEntries() 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 该方法返回当前缓冲区中的所有性能数据 返回值 Array.<PerformanceEntry> 阅读全文
posted @ 2024-12-31 18:56
AtlasLapetos
阅读(4)
评论(0)
推荐(0)
浙公网安备 33010602011771号