Ship to the App Store

Ask an Agent how your App Store app performs: Apple's launch, hang, memory, disk and battery figures, the diagnostics behind them, and a fix for the worst one.

Apple keeps figures on how your App Store app performs on people’s devices: how fast it launches, when it hangs, how much memory, disk and battery it uses. An Agent can read them with asc performance, which its help describes as “Access performance metrics and diagnostic logs.” It can tell you how a version does, point out what got worse, and then fix it.

Ask how your app performs

Ask in the Project’s chat, for example:

How does the latest version perform? Check launch, hangs, memory, disk and battery, and tell me what got worse.
  1. The Agent reads the app’s overview with asc performance overview. The help says it holds “aggregated performance data, regressions, and trends for an app.”
  2. It reads the figures for the app (asc performance metrics list), or for one build (asc performance metrics view).
  3. It lists the build’s diagnostics (asc performance diagnostics list), and reads the logs of the ones that matter (asc performance diagnostics view).
  4. It replies with what it found. It may also draw the figures as a chart card: see Read a chart or a check report an Agent sends.

Reading these figures changes nothing in App Store Connect.

What Apple measures

The asc help lists these kinds of metrics: ANIMATION, BATTERY, DISK, HANG, LAUNCH, MEMORY, STORAGE and TERMINATION. You can ask about all of them or just some, for example only memory and disk. For what each one measures, see Apple’s Analyzing the performance of your shipping app ↗.

In a table, the overview shows the app’s latest version, how many categories of figures there are, and how many regressions and trending-up items Apple found.

Diagnostics

For each build, Apple also lists diagnostic signatures. The help lists three kinds: DISK_WRITES, HANGS and LAUNCHES. For each signature, the list shows its kind, a weight and, when Apple has one, which way it’s going: UP, DOWN or UNDEFINED. Each signature has logs the Agent can read.

Ask the Agent to fix the worst one

Once you know what’s slow, ask, for example:

Fix the worst hang you found.

The Agent reads that signature’s logs, finds the code involved and changes it. People get the fix with your next version: see Ship an update to your app. Once the new version has been out for a while, ask again to compare its figures with the last one.

When there’s nothing to read yet

A new app, or one few people use, may have no figures yet. Apple’s Analyzing the performance of your shipping app ↗ explains where the figures come from.

asc has no message of its own for this. The figures come back empty, and so does the list of diagnostics. Ask again after the version has been out for a while.

Questions

Where are my app's crashes?
In AirFeedback, if your app uses it: each crash report arrives the next time the app opens. You can hand a crash to an Agent from there. See Collect feedback and crashes (AirFeedback).
Can I check one device model?
Yes. The figures can be limited to device types, written like iPhone15,2 in the help’s examples. The list of diagnostics (asc performance diagnostics list) can’t be. Name the model when you ask.
Can I keep the raw figures?
Ask the Agent to download them with asc performance download, as a file it can send you in the chat. See Send photos, files and sketches to an Agent for opening and saving it.
Can I get this regularly?
Yes. Ask the Agent to check every week or after each release, or add a Schedule yourself. See Schedule work for an Agent.
Which commands does the Agent use?
The performance commands in asc: analytics and finance.