AGENT SKILL

perf-profiler

Use when profiling CPU/memory hot paths, generating flame graphs, or capturing JFR/perf evidence.

License 许可
MIT
最近更新
2026-10-02
Stars
★ 9
Forks
1

01 前言 Front Matter

name
perf-profiler
version
5.1.0
description
Use when profiling CPU/memory hot paths, generating flame graphs, or capturing JFR/perf evidence.
argument-hint
[tool] [command]

02 资源文件 1

03 SKILL.md 正文

perf-profiler

Run profiling tools and capture hotspots with evidence.

Follow docs/perf-requirements.md as the canonical contract.

Parse Arguments

const args = '$ARGUMENTS'.split(' ').filter(Boolean);
const tool = args[0] || '';
const command = args.slice(1).join(' ');

Required Rules

  • Verify debug symbols before profiling.
  • Capture file:line for hotspots.
  • Provide flame graph or equivalent output when possible.

Output Format

tool: <profiler>
command: <command>
hotspots:
  - file:line - reason
artifacts:
  - <path to flame graph or profile>

Constraints

  • No profiling without a clear scenario.
  • Keep outputs minimal and evidence-backed.

04 同仓库更多 Skills