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 ...