2 性能分析

原文链接: https://developer.apple.com/documentation/swiftui/performance-analysis

2 性能分析

测量并改善应用的响应能力。

概述

使用 Instruments 检测应用中的卡死(hang)和卡顿(hitch),并分析可能造成卡死和卡顿的长时间视图 body 更新以及频繁发生的 SwiftUI 更新。

基础

分析 SwiftUI 性能