What's the best way to measure and track performance over various calls at runtime?

Posted by bitcruncher on Stack Overflow See other posts from Stack Overflow or by bitcruncher
Published on 2010-03-03T01:22:57Z Indexed on 2010/03/08 13:36 UTC
Read the original article Hit count: 295

Hello. I'm trying to optimize the performance of my code, but I'm not familiar with xcode's debuggers or debuggers in general. Is it possible to track the execution time and frequency of calls being made at runtime?

Imagine a chain of events with some recursive calls over a fraction of a second. What's the best way to track where the CPU spends most of its time?

Many thanks.

Edit: Maybe this is better asked by saying, how do I use the xcode debug tools to do a stack trace?

© Stack Overflow or respective owner

Related posts about xcode

Related posts about debugging