Skip to content
Development
Command

/perf

The performance discipline: measure before touching, benchmark what matters, prove regressions and fixes with numbers.

BOOST
From plugin
procoder
21130 skills30 commands2 hooks
Install
> /plugin marketplace add azrtydxb/procoder
> /plugin install procoder@procoder

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

Context preview

What this command does when you run it.

The performance discipline: measure before touching, benchmark what matters, prove regressions and fixes with numbers.

Command definition

perf.md
description: "The performance discipline: measure before touching, benchmark what matters, prove regressions and fixes with numbers."

The user invoked /procoder:perf with arguments: $ARGUMENTS

The launcher is: "${CLAUDE_PLUGIN_ROOT}/hooks/launcher.sh"

Performance work without numbers is storytelling. The discipline:

1. **Baseline first.** Run `launcher.sh bench` — it runs the Go benchmarks and compares against `.procoder/bench/baseline.txt`. No baseline yet? `launcher.sh bench --save` records one BEFORE you touch anything. No benchmarks yet? Write one for the hot path the change touches — that is the first task, not an afterthought. 2. **Change, then measure again.** `launcher.sh bench` marks any regression beyond `[bench] threshold` (default 10%) and exits 1. Improvements are numbers too — quote the delta, not adjectives. 3. **Save deliberately.** A new baseline (`--save`) is a decision that the current numbers are the new normal — take it after a reviewed improvement, never to silence a regression. 4. Results are single-run and machine-local; treat small deltas as noise and cross-platform comparisons with the warning the tool prints. For deeper hunts, profile (pprof) before optimizing.

Ships withprocoder

Senior-developer discipline for AI coding agents. A commit gate that counts unchecked as failing, quality controllers that refuse to call unfinished work done, and a lessons loop that closes each escaped bug's class. One Go binary, no runtime deps, works with 20+ agents.

Get the whole plugin
Stats
210
Stars
17
Forks
Active
Maintenance
Go
Language
Apache-2.0
License
1d ago
Last commit
2mo ago
Created
5h ago
Added

Repo: azrtydxb/procoder

Other commands on procoder.

adr
Command

adr

Architecture decision records: durable decisions with their date, context, and consequences — supersede, never rewrite.

@azrtydxb@azrtydxbInstall Command