Instruments

Profile your app to find what is slow, what leaks and what drains the battery.

Introduced
2007
Xcode 3
Kind
Tool
Runs on
macOS
Get it from
Included with Xcode
iOS
iPadOS
Mac Catalyst
macOS
tvOS
visionOS
watchOS

Overview

Instruments records what your app is doing over time: CPU, memory, disk, network, energy, SwiftUI updates and more. You see exactly which code is responsible.

The cycle is simple: profile, find the hot spot, fix it, and record again to confirm.

Time Profiler

Find exactly which functions use the CPU.

Allocations and Leaks

Track memory growth and retain cycles.

SwiftUI

See which views update, how often and why.

Swift Concurrency

Task scheduling, actor contention and thread use.

History

How it grew up.

2007

Introduced

Ships with Xcode 3 on Mac OS X Leopard.

2018

Custom instruments

Xcode 10 lets developers build their own instruments.

2025

SwiftUI instrument

A new instrument for SwiftUI performance.

2026

Swift Concurrency

A new instrument for tasks and actors.