Xcode

Apple Profiling Tools - Shark is Out, Instruments is In


Posted in:

As we sat down today to do some performance profiling in Shark, we came to a sudden realization - it doesn't work anymore with iOS4. After some quick Google searching I came across a thread in Apple's developer forum (registration required) that indicated there were no plans to bring iOS4 support to Shark.

Read More Icon Read More

Using Shark to Performance Tune Your iPhone App


Posted in:

Here was the problem: we were working on an OpenGL iPhone game and for some reason the frame rates were unusually low - especially for what little action was happening on the screen at the time. My first plan of attack was to begin commenting out chunks of the system in an attempt to see what module was causing the problem. I removed the physics, the logic updates, and some of the things being rendered. Nothing I did, however, seemed to create a noticeable improvement in performance.

Read More Icon Read More

Finding Memory Leaks in iPhone Code


Posted in:

The video tutorial below shows how to use the performance tools that come with the Apple development kit to find memory leaks in Cocoa and Cocoa Touch code.

Read More Icon Read More