0

I'm trying to use signposts to profile the performance of a fairly complex piece of (synchronization) logic. The signposts I create have names like: "Syncing A", "Downloading A", "Uploading A", "Syncing B", "Downloading B", "Uploading B". The app I'm working on needs to support iOS 12, so I'm using the old deprecated signpost API.

I profile the app with the "os_signposts" tool in Instruments. The intervals it shows are correct, and the information in general is very helpful. There's just one problem: Instruments sorts the intervals alphabetically: "Downloading A", "Downloading B", "Syncing A", "Syncing B", "Uploading A", "Uploading B", which makes the resulting visualization more difficult to make sense of.

Is there a way to change this order? I don't see anything in the signpost API that would allow me to do so, but maybe there is a way to achieve this that I haven't thought about. This seems like a basic feature that should be there (especially considering the fact that signposts have been introduced years ago).

UPDATE: I tried the new Signposter API available starting from iOS 15, but it made no difference.

Andrii Chernenko
  • 9,873
  • 7
  • 71
  • 89

0 Answers0