Skip to content
Development
Command

/perf-debug

Capture and analyze performance diagnostics from the running Android app.

From plugin
zedra
2508 skills8 commands
$ npx -y skills add deltaqdev/zedra --agent claude-code

Command definition

perf-debug.md

Capture and analyze performance diagnostics from the running Android app.

Steps: 1. Clear logcat and start background capture with `adb logcat -c && adb logcat > /tmp/zedra-perf-capture.log &` 2. Tell the user: "Logcat capture started. Interact with the app on your device — navigate screens, open files, scroll, use the terminal, open/close the drawer. Say **done** when finished." 3. Wait for the user to say "done" 4. Stop the background logcat capture 5. Run `./scripts/perf-debug.sh` with the captured log, or run it directly (it handles its own capture) 6. Read the output and present a categorized summary:

  • **Renderer**: frame timing stats from `[gpui_wgpu]` lines
  • **Navigation**: screen transitions, file loads
  • **Editor**: cache rebuild frequency and size
  • **Terminal**: data processing events
  • **Touch**: fling start/end counts, drawer snap events
  • **Transport**: connection type changes, reconnect attempts
  • **File Explorer**: entry count changes
  • **Errors**: any panics, crashes, or ANRs
  • **Memory**: RSS from dumpsys

7. Highlight any anomalies (frame times >16ms, excessive cache rebuilds, errors)

@tanlethanh
Ships withzedra

An experimental remote code editor on mobile with GPU-accelerated rendering powered by Zed's GPUI, P2P tunnel over QUIC/UDP by Iroh.

Stars on GitHub

Momentum

stars in total
250
Star history of tanlethanh/zedra on GitHub, a chart by star-history.com

Other commands on zedra.

android-build

android-build

Command

Build the Rust libraries and install the APK to the connected Android device. Does NOT launch the app or monitor logs.

@tanlethanh@tanlethanhInstall Command
devtool

devtool

Command

Drive the Zedra Android UI from the agent via the in-app GPUI devtool HTTP server.

@tanlethanh@tanlethanhInstall Command
ios-dev

ios-dev

Command

Build, install, launch, and monitor the iOS app on a connected device.

@tanlethanh@tanlethanhInstall Command
ios-log

ios-log

Command

Stream and analyze logs from a USB-connected iOS device running Zedra.

@tanlethanh@tanlethanhInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command