DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to record CPU, memory, and FPS and compare two runs with Codex Mobile Dev Plugin

Capture an interaction on a device and ask Codex to compare it with an earlier run.

Short answer: Open Performance in Mobile Dev for the selected device; then 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. All steps.

Who it is forA developer who suspects a screen got slower or janky after a change and needs measured numbers before and after.

The problemPerformance regressions are hard to prove from memory, and manual profiling is slow to repeat.

The outcomeYou get recorded CPU, memory, and Display FPS data for an interaction, plus a comparison of two runs in chat.

What you need first

  • 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

Steps

  1. Open Performance in Mobile Dev for the selected device.
  2. Ask Codex to record CPU and memory during the interaction, for example scrolling a list for 30 seconds.
  3. Repeat the same interaction after your change.
  4. Ask Codex to compare the two recordings and analyze the selected range.

Prompt for your agent

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.

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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for callstackincubator/codex-mobile-dev-plugin and "Record CPU, memory, and FPS and compare two runs"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer