2 Replies
      Latest reply on May 17, 2019 12:47 AM by eskimo
      shanksli Level 1 Level 1 (0 points)

        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

        • Re: Does using activity tracing have a big impact on application performance?
          KMT Level 9 Level 9 (14,055 points)

          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?

          • Re: Does using activity tracing have a big impact on application performance?
            eskimo Apple Staff Apple Staff (11,265 points)

            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"