So I am logging using os_signpost.
My begin format string contains two strings "language: %s message: %s".
My end format string contains one string "size: %zu".
I am running on an iMac Pro 2017. I should have lots of processing power....
I am routinely running into problems where the Data stream is logging run issue messages "due to high rates in live mode recording. Try windowed recording mode".
It appears in general that the messages being dropped are my end messages.
I have tried windowed recording mode, and it doesn't really seem to help. Is there anything I can do to improve performance so messages aren't being dropped? Compared to something like dtrace recording system calls I don't think I am logging that much data. The fact that it's the end messages that are being dropped is really messing up my graphs because my instrument believes that the interval is still open which means my graphs get incredibly deep incredibly quickly.
I could easily turn language into an enumeration if parsing/recording a %d is significantly faster/easier than parsing/recording a %s.
Any thoughts would be appreciated.
Cheers,
Dave