Chapter 14. Measurement and Analysis

In This Chapter

• Using Instruments

• Measuring speed

• Measuring memory usage

• Using the Analyzer

• Introducing Automatic Reference Counting (ARC)

Passer Rating has quite a way to go before it’s useful for the general public, but you’ve run it several times and begun a testing régime, and you’re fairly confident that to the naked eye, it works.

As usual, the qualifier (“to the naked eye”) means more than “it works.” There are issues in Passer Rating of speed and memory performance. Before you can act, you have to know what’s going on—you have to profile the app. The Instruments application is the tool for profiling applications.

Speed

Passer Rating takes an appreciable amount of time to start up. If you ...

Get Xcode® 4 Unleashed, Second Edition 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.