O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

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

Measuring performance

Performance is one of the most important things that you should take care of in your app. Your users need to use your app smoothly with no interruption or hanging. They have something to do, and they have to do it fast. When you develop your application, you develop it for a platform, not for a specific device. For example, you develop an iOS application, which will run on different types of devices with different CPU capabilities. That's why, measuring your app performance is very important, so you can find the areas that need optimization.

How to do it...

  1. In these measurements, we will not write any code. So, you can pick any Xcode project you have to run these experiments on.
  2. First, we will try to measure the CPU usage of ...

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