Hour 23. Optimizing Performance
Profiling your code tells you where it is spending the most resources (memory and time). Although most people profile their code to improve its performance, profiling also serves as a good check to ensure the program is behaving as expected. Once you understand your program’s behavior, you can more effectively optimize its memory usage and speed. Low memory usage is particularly important on the iPhone, which is memory limited. In this hour, you’ll learn to profile your application, reduce memory usage, find leaks, and boost your code’s speed.
Profiling Your Code
First, profile your application ...
Get Sams Teach Yourself Cocoa Touch™ Programming in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.