How to use MacOS Shark to profile my application?

I have an Xcode project. I can build and debug with it. Can I use Shark to profile my application (for example, to find out how much% of the time was spent on which method? How many objects were created and destroyed? Where is each object created?

Thanks.

+4
source share
1 answer

Yes, you can run Shark in your application to get time profile information; see for example this Apple tutorial . dtrace is another option; but has a steeper learning curve.

For more general profiling, such as placing objects, you want to use tools (which are also part of the Apple developer toolkit).

+1
source

All Articles