Benchmarking a particular method in Objective-C

Posted by Jasconius on Stack Overflow See other posts from Stack Overflow or by Jasconius
Published on 2010-06-10T19:46:43Z Indexed on 2010/06/10 19:53 UTC
Read the original article Hit count: 452

I have a critical method in an Objective-C application that I need to optimize as much as possible. I first need to take some easy benchmarks on this one single method so I can compare my progress as I optimize.

What is the easiest way to track the execution time of a given method in, say, milliseconds, and print that to console.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c