{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "callstackincubator-codex-mobile-dev-plugin--record-and-compare-app-performance",
 "repo": "callstackincubator/codex-mobile-dev-plugin",
 "repo_url": "https://github.com/callstackincubator/codex-mobile-dev-plugin",
 "repo_slug": "callstackincubator-codex-mobile-dev-plugin",
 "title": "Record CPU, memory, and FPS and compare two runs",
 "page_title": "How to record CPU, memory, and FPS and compare two runs with Codex Mobile Dev Plugin",
 "summary": "Capture an interaction on a device and ask Codex to compare it with an earlier run.",
 "who": "A developer who suspects a screen got slower or janky after a change and needs measured numbers before and after.",
 "problem": "Performance regressions are hard to prove from memory, and manual profiling is slow to repeat.",
 "outcome": "You get recorded CPU, memory, and Display FPS data for an interaction, plus a comparison of two runs in chat.",
 "steps": [
  "Open Performance in Mobile Dev for the selected device.",
  "Ask Codex to record CPU and memory during the interaction, for example scrolling a list for 30 seconds.",
  "Repeat the same interaction after your change.",
  "Ask Codex to compare the two recordings and analyze the selected range."
 ],
 "agent_prompt": "Using the callstackincubator/codex-mobile-dev-plugin Mobile Dev plugin, record CPU and memory on <device name> during <interaction> before and after my change in <project path>, then compare the two runs. Expected output: a comparison of CPU, memory, and Display FPS between the runs. Verify both recordings cover the same interaction length before drawing a conclusion.",
 "agents": [
  "codex"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Physical iOS CPU and memory need iOS 17.4 or later with a development-signed app, and iOS simulators do not support Display FPS.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "c++",
 "requirements": [
  "Codex desktop on an Apple Silicon Mac",
  "Xcode 26 or later with a simulator runtime for iOS simulators",
  "Android SDK platform-tools and emulator, with an AVD or an authorized physical device, for Android",
  "GitHub read access and working Git authentication while the repository is private",
  "An existing local Metro server for Metro logs and React Native inspection"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/callstackincubator-codex-mobile-dev-plugin/record-and-compare-app-performance/",
 "md": "https://dedupedai.com/use-cases/callstackincubator-codex-mobile-dev-plugin/record-and-compare-app-performance/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/callstackincubator-codex-mobile-dev-plugin--record-and-compare-app-performance.json",
 "api_version": "v1"
}
