O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Shark

And now, time for something completely different. Imagine you have already run your application through Clang and squashed the reported bugs. You then ran your app through Instruments, and it gives your app a clean bill of health. But when you run your application, you can’t help but notice that it has choppy scrolling or lags when you tap a button. The performance is just awful. How do you go about making sure your app runs smooth as butter?
Introducing: Shark. Shark profiles your application to determine how much time is spent in various functions. Profiling is the process of sampling code at runtime. Using Shark, you can see where to get the biggest bang for your buck when optimizing your code. If 90 percent of your CPU time is spent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required