摘要:
PerformanceObserver Performance.createObserver(function callback) 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 创建全局性能事件监听器 参数 function callback 回调函数 返回值 阅读全文
posted @ 2024-12-31 18:56
AtlasLapetos
阅读(7)
评论(0)
推荐(0)
摘要:
Performance 基础库 2.11.0 开始支持,低版本需做兼容处理。 Performance 对象,用于获取性能数据及创建性能监听器 方法 Array. Performance.getEntries() 该方法返回当前缓冲区中的所有性能数据 Array. Performance.getEnt 阅读全文
posted @ 2024-12-31 18:56
AtlasLapetos
阅读(9)
评论(0)
推荐(0)
摘要:
Array.<PerformanceEntry> EntryList.getEntriesByType(string entryType) 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 获取当前列表中所有类型为 [entryType] 的性能数据 参数 stri 阅读全文
posted @ 2024-12-31 18:56
AtlasLapetos
阅读(6)
评论(0)
推荐(0)
摘要:
Array.<PerformanceEntry> EntryList.getEntriesByName(string name, string entryType) 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 获取当前列表中所有名称为 [name] 且类型为 阅读全文
posted @ 2024-12-31 18:56
AtlasLapetos
阅读(5)
评论(0)
推荐(0)
摘要:
Array.<PerformanceEntry> EntryList.getEntries() 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:不支持 功能描述 该方法返回当前列表中的所有性能数据 返回值 Array.<PerformanceEntry> 阅读全文
posted @ 2024-12-31 18:56
AtlasLapetos
阅读(5)
评论(0)
推荐(0)
摘要:
EntryList 基础库 2.11.0 开始支持,低版本需做兼容处理。 EntryList 对象 方法 Array. EntryList.getEntries() 该方法返回当前列表中的所有性能数据 Array. EntryList.getEntriesByType(string entryTyp 阅读全文
posted @ 2024-12-31 18:55
AtlasLapetos
阅读(14)
评论(0)
推荐(0)
摘要:
Performance wx.getPerformance() 基础库 2.11.0 开始支持,低版本需做兼容处理。 小程序插件:支持 微信 Windows 版:支持 微信 Mac 版:支持 微信 鸿蒙 OS 版:支持 功能描述 获取当前小程序性能相关的信息。关于小程序启动性能优化的更多内容,请参考 阅读全文
posted @ 2024-12-31 18:55
AtlasLapetos
阅读(130)
评论(0)
推荐(0)
摘要:
wx.preloadAssets(Object object) 基础库 2.22.1 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:不支持 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 微信 鸿蒙 OS 版:支持 功能描述 为视图层预加载媒体资源文件, 阅读全文
posted @ 2024-12-31 18:55
AtlasLapetos
阅读(78)
评论(0)
推荐(0)
摘要:
wx.preloadSkylineView(Object object) 基础库 2.24.7 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:不支持 小程序插件:支持,需要小程序基础库版本不低于 2.24.7 功能描述 预加载下个页面所需要的 Skyline 运行环境。 参数 Ob 阅读全文
posted @ 2024-12-31 18:54
AtlasLapetos
阅读(17)
评论(0)
推荐(0)
摘要:
wx.preloadWebview(Object object) 基础库 2.15.0 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:不支持 小程序插件:支持,需要小程序基础库版本不低于 2.15.0 功能描述 预加载下个页面的 WebView。参见预加载下个页面的时机 参数 Ob 阅读全文
posted @ 2024-12-31 18:54
AtlasLapetos
阅读(76)
评论(0)
推荐(0)
浙公网安备 33010602011771号