Skip to content
Development
Command

/perf-debug

Capture and analyze performance diagnostics from the running Android app.

From plugin
zedra
1738 skills8 commands
Install
$ npx -y skills add tanlethanh/zedra --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/perf-debug

Context preview

What this command does when you run it.

Capture and analyze performance diagnostics from the running Android app.

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)

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.

Get the whole plugin
Stats
174
Stars
19
Forks
Active
Maintenance
Rust
Language
MIT
License
7h ago
Last commit
7mo ago
Created

Repo: tanlethanh/zedra