Skip to content

Commit 83db76f

Browse files
authored
feat: add iOS device perf sampling (#358)
* feat: add iOS device perf sampling * fix: restart stale daemon after source changes * chore: ignore tests in daemon signature * fix: dedupe iOS perf samples by pid * chore: move daemon invalidation out of perf PR * refactor: use fast xml parser for iOS perf exports * refactor: simplify iOS perf XML coverage * test: align iOS perf parser follow-ups * fix: preserve duplicate iOS perf export columns * refactor: reuse XML parser for plist fallback * refactor: share iOS XML parsing helpers
1 parent 72cc398 commit 83db76f

14 files changed

Lines changed: 991 additions & 121 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ In non-JSON mode, core mutating commands print a short success acknowledgment so
6565

6666
- Startup timing is available on iOS and Android from `open` command round-trip sampling.
6767
- Android app sessions also sample CPU (`adb shell dumpsys cpuinfo`) and memory (`adb shell dumpsys meminfo <package>`) when the session has an active app package context.
68-
- Apple app sessions on macOS and iOS simulators also sample CPU and memory from process snapshots resolved from the active app bundle ID.
69-
- Physical iOS devices still report CPU and memory as unavailable in this release.
68+
- Apple app sessions on macOS and iOS simulators sample CPU and memory from process snapshots resolved from the active app bundle ID.
69+
- Physical iOS devices sample CPU and memory from a short `xcrun xctrace` Activity Monitor capture against the connected device, so `perf` can take a few seconds longer there than on simulators or macOS.
7070

7171
## Where To Go Next
7272

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"android"
7575
],
7676
"dependencies": {
77+
"fast-xml-parser": "^5.5.10",
7778
"pngjs": "^7.0.0"
7879
},
7980
"devDependencies": {

pnpm-lock.yaml

Lines changed: 31 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)