You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`perf` (or `metrics`) requires an active session and returns a JSON metrics blob.
285
+
- Current metric: `startup` sampled from the elapsed wall-clock time around each session `open` command dispatch (`open-command-roundtrip`), unit `ms`.
286
+
- Startup samples are session-scoped and include sample history from recent `open` actions.
287
+
- Platform support for current sampling: iOS simulator, iOS physical device, Android emulator/device.
288
+
-`fps`, `memory`, and `cpu` are reported as not yet implemented in this release.
289
+
- Quick usage:
290
+
291
+
```bash
292
+
agent-device open Settings --platform ios
293
+
agent-device perf --json
294
+
```
295
+
296
+
- How to read it:
297
+
-`metrics.startup.lastDurationMs`: most recent startup sample in milliseconds.
298
+
-`metrics.startup.samples[]`: recent startup history for this session.
299
+
-`sampling.startup.method`: currently `open-command-roundtrip`.
300
+
- Caveat: startup here is command-to-launch round-trip timing, not true app TTI/first-interactive telemetry.
301
+
281
302
Replay update:
282
303
-`replay <path>` runs deterministic replay from `.ad` scripts.
283
304
-`replay -u <path>` attempts selector updates on failures and atomically rewrites the same file.
0 commit comments