agent/claude/code/commands/perf.md
Snider dee598e39f
feat(code): add /core:perf performance profiling helpers (#90)
Migrated from host-uk/core-claude#42

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 07:23:05 +00:00

31 lines
552 B
Markdown

---
name: perf
description: Performance profiling helpers for Go and PHP
args: <subcommand> [options]
---
# Performance Profiling
A collection of helpers to diagnose performance issues.
## Usage
Profile the test suite:
`/core:perf test`
Profile an HTTP request:
`/core:perf request /api/users`
Analyse slow queries:
`/core:perf query`
Analyse memory usage:
`/core:perf memory`
## Action
This command delegates to a shell script to perform the analysis.
```bash
/bin/bash "${CLAUDE_PLUGIN_ROOT}/scripts/perf.sh" "<subcommand>" "<options>"
```