Run Rspack performance profiling on Linux using perf (with DWARF call stacks), generate perf.data, and analyze hotspots. Use when you need CPU-level bottlenecks, kernel symbol resolution, or repeatable profiling for rspack build/bench cases. Includes optional samply import with per-CPU threads for visualization, but primary analysis is perf-based.
安装
npx skills add web-infra-dev/rspack --skill rspack-perf-profilingnpx skills add web-infra-dev/rspack --skill rspack-perf-profiling -a claude-code -gnpx skills add web-infra-dev/rspack --skill rspack-perf-profiling -a codex -ggemini skills install https://github.com/web-infra-dev/rspack.git --path .agents/skills/rspack-perf-profilinggh skill install web-infra-dev/rspack rspack-perf-profilinggit clone --depth 1 https://github.com/web-infra-dev/rspack /tmp/web-infra-dev__rspack
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/web-infra-dev__rspack/.agents/skills/rspack-perf-profiling ~/.claude/skills/rspack-perf-profiling # Claude Code
cp -R /tmp/web-infra-dev__rspack/.agents/skills/rspack-perf-profiling ~/.agents/skills/rspack-perf-profiling # Codex, Cursor, Gemini CLI, Copilot, OpenCode