Post

Replies

Boosts

Views

Activity

Using MetricKit for Hangs on macOS
Hallo all, I did a test integration of MetricKit into one of our apps...I'am on macOS Ventura 13.3.1 (a). The app is not distributed via the App Store. I subscribed to the MXMetricManager and implemented the didReceiveDiagnosticPayloads function. So far everything seems to work, when I use in Xcode: Debug -> Simulate MetricKit Payload I get a callback and the payload. So I did some further testing. When I build the app debug version with a test crash and then run the Debug Version (without Xcode) and let it crash the next time I start the app I get a callback to didReceiveDiagnosticPayloads with all the information about the crash. But I'am not able to get a hang report. I tested it by adding a sleep (60) and adding some intensive computation work on the main thread so that it is busy for several seconds, I get no hang reports :-( I'am using the Debug version and run it without Xcode. Are hang reports expected to be reported immediately? I also get after 24 hours no hang reports. Can someone help me? Thanks and have a nice day!
2
1
1.7k
Sep ’25
Performance of SwiftUI List
Hello, I'am new to SwiftUI development and have a question about performance improvements for using the SwiftUI List. I basically have a NavigationSplitView, on the left side is a list with around 17.000 entries and on the right side is a detail view showing a chart. While scrolling through the list is ok, when I select an item to show the details I have a hang around 1-2 seconds. I don't know how to exactly improve performance so that the detail data appears instantly. Any help is welcome, here's the UI code:
Topic: UI Frameworks SubTopic: SwiftUI
2
0
427
Aug ’24
macOS symbols are missing in an trace done with ktrace artrace on another system
Hello, I'am trying to analyse a hang with our App and asked the customer to do a ktrace artrace ("sudo ktrace artrace") on his system. The problem is that the macOS symbols are missing when I open the trace with Instruments on my system. the customer is running macOS 11.6.1, I'am running macOS 12.0.1. I asked the customer to do a sudo ktrace symbolicate but that does not help. This is a very important workflow for me to analyse sluggishness and hangs on systems, any help is welcome! :-)
1
1
917
Nov ’21
Using MetricKit for Hangs on macOS
Hallo all, I did a test integration of MetricKit into one of our apps...I'am on macOS Ventura 13.3.1 (a). The app is not distributed via the App Store. I subscribed to the MXMetricManager and implemented the didReceiveDiagnosticPayloads function. So far everything seems to work, when I use in Xcode: Debug -> Simulate MetricKit Payload I get a callback and the payload. So I did some further testing. When I build the app debug version with a test crash and then run the Debug Version (without Xcode) and let it crash the next time I start the app I get a callback to didReceiveDiagnosticPayloads with all the information about the crash. But I'am not able to get a hang report. I tested it by adding a sleep (60) and adding some intensive computation work on the main thread so that it is busy for several seconds, I get no hang reports :-( I'am using the Debug version and run it without Xcode. Are hang reports expected to be reported immediately? I also get after 24 hours no hang reports. Can someone help me? Thanks and have a nice day!
Replies
2
Boosts
1
Views
1.7k
Activity
Sep ’25
Performance of SwiftUI List
Hello, I'am new to SwiftUI development and have a question about performance improvements for using the SwiftUI List. I basically have a NavigationSplitView, on the left side is a list with around 17.000 entries and on the right side is a detail view showing a chart. While scrolling through the list is ok, when I select an item to show the details I have a hang around 1-2 seconds. I don't know how to exactly improve performance so that the detail data appears instantly. Any help is welcome, here's the UI code:
Topic: UI Frameworks SubTopic: SwiftUI
Replies
2
Boosts
0
Views
427
Activity
Aug ’24
How do I remove symbols completely from the system?
Once I symbolicated a trace in Instruments with a dsym file it magically woks forever. Even when I delete the dlsym file new traces are symbolicated. How can I avoid that? Where is the data cached? Any help is appreciated! Thanks, Eric
Replies
5
Boosts
1
Views
3.4k
Activity
Aug ’22
macOS symbols are missing in an trace done with ktrace artrace on another system
Hello, I'am trying to analyse a hang with our App and asked the customer to do a ktrace artrace ("sudo ktrace artrace") on his system. The problem is that the macOS symbols are missing when I open the trace with Instruments on my system. the customer is running macOS 11.6.1, I'am running macOS 12.0.1. I asked the customer to do a sudo ktrace symbolicate but that does not help. This is a very important workflow for me to analyse sluggishness and hangs on systems, any help is welcome! :-)
Replies
1
Boosts
1
Views
917
Activity
Nov ’21