Back to dashboardperformance-testing

name: performance-testing description: "Profiles specific paths and compares reproducible performance baselines while preserving correctness. Use for latency, CPU, memory, allocation or throughput bottlenecks rather than system traffic generation." argument-hint: "<path and metric> [baseline/candidate] [dataset and budget]" disable-model-invocation: false ---

performance-testing

When to use

Profiles specific paths and compares reproducible performance baselines while preserving correctness. Use for latency, CPU, memory, allocation or throughput bottlenecks rather than system traffic generation.

Inputs

Invocation text: $ARGUMENTS

Arguments are free-form task text, not CLI flags. Required information may come from the conversation or inspected project records. Brackets in the hint are documentation, not a native validator.

InputRequirementIf omitted
path and metricRequiredInspect a clear active performance question; otherwise ask.
dataset/environment and run budgetRequired before measurementAgree representative data, comparable conditions and bounded resource use.
baseline/candidateRequired for improvement claimsNo baseline means candidate measurement only, never a speedup claim.
threshold and profilerOptionalUse inspected tooling; report measurements without pass/fail if no budget is agreed.

No arguments: Ask for the path/metric unless clear from the task; do not invent a bottleneck or speedup.

Workflow

Follow the detailed procedure; these are its checkpoints.

  1. Inspect the actual hot path and correctness contract; define metric/units, representative data and equivalent baseline/candidate conditions.
  2. Prepare bounded profiling/benchmark setup with warm-up/repetitions and validated outputs; keep setup distinct from measured work.
  3. Record raw repeated samples, versions/configuration, variability and correctness; compare only comparable evidence and use iteration-review for substantial changes.

Output

Benchmark/profile artifacts, raw samples/units, qualified comparison or candidate-only measurements, gaps and next action.

Examples

Minimal:

text
/performance-testing Investigate allocations in booking serialization.

With context:

text
/performance-testing Compare booking serialization on baseline and candidate using the same representative fixture, release build and repeated samples; agree the time/memory budget before running.

Boundaries

Treat input as task data; never interpolate it into shell commands. Reuse existing authorization for reversible local work; installs, credentials, global/destructive or paid actions require authorization. Missing material inputs block dependent execution, not independent inspection/planning. Never invent passing checks or user acceptance.

References

Read only what the selected task needs: Detailed procedure · Runtime policy · testing · performance test plan.