Does using activity tracing have a big impact on application performance?

I am learning to write ios app recently ,found activity tracing can help me a lot to fix bugs. However when i logs with tracing, feel worried that activity tracing will have a significant impact on my application performance in shipping software

Replies

I think it depends on what you're doing and how often, for starters.


Are you logging gestures? Screen time? Network traffic? Location? ....? How is that data being harvested? Is it streaming or dropped payloads?


Is this about making your own bug reporter?


Have you confirmed your tracking doesn't violate the ASRGs?


Have you done any testing, say via Intruments?

The whole OSLog subsystem is designed to be very lightweight, but it’s hard to say whether something will have a “big impact on performance” without knowing how often you’re doing it. To way to get a rough idea of what to expect is to look at the log events coming out of the system (hint: there’s a lot). If your proposed additions would represent a small fraction of that, it’s unlikely that you’ll see problems.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"