How to identify key events in Xcode Instruments?

Rather than using flags, we can now use programmatically inserted signposts which are captured in Instruments’ “Points of Interest” tool. In iOS 13 and macOS 10.15, we can use os_signpost. This is illustrated in WWDC 2019 video Getting Started with Instruments. For example, in Swift: Import the unified logging framework: import os.log Create an OSLog … Read more

Alternative to DTSendSignalFlag to identify key events in Instruments?

Rather than using flags, we can now use programmatically inserted signposts which are captured in Instrument’s “Points of Interest”. In iOS 13 and macOS 10.15, we can use os_signpost. This is illustrated in WWDC 2019 video Getting Started with Instruments. For example, in Swift: Import the unified logging framework: import os.log Create an OSLog for … Read more

instruments with iOS: Why does Memory Monitor disagree with Allocations?

I believe this is due to the fact that memory usage from OpenGL ES is hidden from ObjectAlloc, but counted in Memory Monitor. For example, see zoul’s tests in his question here, where he observes a slight uptick in ObjectAlloc on creation of a texture, but then that memory disappears from that instrument when passed … Read more