- App memory—MB
- App CPU—%
- Threads—
- Session change—MB
- Minimum—
- Average—
- Peak—
- Samples—
A leak looks like a staircase.
This is the window, drawing a real session: live tiles, a chart banded by the screen that was on the device, and a warning the moment the app starts climbing and not coming back. Hover the chart to scrub it.
Eight tools, one window
Live monitoring is the headline. Everything else opens from Home — each a full tool, not a tab.
-
App bundle size
Where an
.apk,.aabor.ipaspends its bytes — and the diff against your last build. -
Startup timing
Cold and warm launches, batched across runs and averaged.
-
Cold-start benchmark
Many launches, reported as a distribution with a stable-vs-noisy read.
-
Jank timeline
Per-frame render times, with the frames that missed called out.
-
Battery & thermal
Drain rate, temperature and thermal state — two runs compared.
-
Log viewer
logcat, a simulator's log or an iPhone's syslog — filtered and followed.
-
AI session analysis
Claude, GPT or Gemini reads the run and answers in words.
-
Threshold alerts
A ceiling per metric, and a notification the moment it trips.
- Native SwiftUINo Electron, no web views. It feels like macOS because it is.
- Runs on your MacReadings never leave your machine. AI analysis is opt-in, with your own key.
- Signed end to endDeveloper ID signed, notarized by Apple, with signed automatic updates.
The same app, headless.
Install dpm on your PATH with one button. Give it a device and a package and it samples without a window, writes JSON, and exits non-zero when a budget is blown — so CI fails the build and an AI agent reads the numbers back to you.
This terminal answers real commands. Try dpm devices, dpm apps, dpm record or dpm help.
Hand it to Claude Code, Codex or Cursor.
The app ships ready-made prompts that already name your device and package. The agent runs dpm on your Mac and reads the JSON back to you — or you drop the whole reference into your repo's AGENTS.md and it needs no prompt at all.
Check a flow for leaks
“Record
com.example.appfor 120 seconds while I use it, then tell me whether memory kept climbing, with the average and peak.”Compare before and after
“Record my branch, stash the changes, rebuild, record again, and give me a table of memory and CPU with the difference.”
Gate the build
“Add a CI step that runs
dpm recordwith a 400 MB budget, fails the job on exit 1 and uploads the JSON.”
Point it at a device and press start.
Free, universal for Apple silicon and Intel, and it updates itself in place. Android monitoring needs adb; iOS needs Xcode's command-line tools.
brew install --cask coursion-studio/tools/device-performance-monitor
macOS 14 or later · Developer ID signed & notarized