Swift UI
Set up screen loading performance tracking for SwiftUI views with Luciq. Monitor how fast your SwiftUI screens load and identify slow rendering issues.
To be able to measure the loading time of your SwiftUI views, you need to instrument your views by wrapping them in our LuciqTracedView component:
var body: some View {
LuciqTracedView(name: "View Name") { //our Wrapper
VStack {
Text("Hello, World!")
}
}
}Spans
Luciq will automatically show spans and operations that occurred during the SwiftUI view loading; these include:
Network Requests
Database Queries
The
bodyspan, which represents how long the body object took to load
Last updated