Profiling Swift Apps Book

Profiling Swift Apps book cover
Buy Book $40(US) Download Book Sample Have a Question?

Find and Fix App Performance Problems Using Instruments

You’re developing an iOS or Mac app. Your code builds and runs but has performance problems like the following:

Instruments is Intimidating

Xcode comes with Instruments, a tool to help you find problems in your code such as memory leaks, high memory usage, and slow running code. But Instruments bombards you with so much data that it’s hard to find where the problems are in your code.

You run the Time Profiler instrument to find the slow spots in your code and get a listing like the following:

Time Profiler listing

The listing shows a bunch of functions you didn’t write. How do you find your code? What’s the difference between Weight and Self Weight? What you really want to know is the code causing your app to run slowly, and Instruments shows you a list of low-level threading functions. How do you find your code?

Learn to Make Sense of Instruments and Improve App Performance

I’ve written Profiling Swift Apps, a book that helps make sense of the profiling data Instruments generates. The book shows you how to find the most important information in the Instruments data, such as the code causing problems. Some of the things you will learn in the book include the following:

After reading this book you will be able to use Instruments and find the code causing problems in your app. Finding the code you need to fix is the first step to making apps that run faster, use less memory, and don’t leak memory.

I wrote the book for Xcode 26 so you can be confident the book is up to date.

Book Contents