rspack-tracing

Diagnose and profile Rspack builds to identify crashes and slow stages.

86|1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/rstackjs/agent-skills --skill rspack-tracing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rspack-tracing
Source: https://github.com/rstackjs/agent-skills/tree/main/skills/rspack-tracing
Command: npx skills add https://github.com/rstackjs/agent-skills --skill rspack-tracing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers quickly diagnose why an Rspack build is slow, identify the exact phases where crashes occur, and pinpoint performance bottlenecks through tracing and profiling.

Core Features & Use Cases

  • Trace capture: Enable and collect detailed traces of a Rspack build to visualize the build timeline.
  • Performance analysis: Identify slow plugins and loaders, understand bottlenecks, and optimize configuration.
  • Guided troubleshooting: Map trace insights to concrete fixes and improvements for faster builds.

Quick Start

Enable tracing for a project, run a build to generate a trace, then run the included analysis script to summarize results and reveal the top slow components.

Frequently Asked Questions about rspack-tracing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify slow plugins and loaders in my Rspack build?

Use Rspack tracing to capture a detailed build timeline, then run the included analysis script to summarize performance data and reveal which plugins and loaders consume the most time. The script maps slow spans to specific components so you can target optimizations.

How do I enable tracing for an Rspack project?

Enable tracing in your Rspack configuration, run a build to generate a trace file, then use the Skill's analysis script to extract and visualize the build timeline. The workflow guides you from trace capture through bottleneck identification.

Can I use Rspack tracing to debug build crashes?

Yes. Rspack tracing captures the exact phases where crashes occur, showing you the build timeline up to failure. This lets you pinpoint which plugin or loader caused the crash and understand the conditions that triggered it.

What does the built-in analysis script provide?

The analysis script processes trace data to summarize build performance, identifies top slow components, and maps trace insights to actionable fixes. It transforms raw trace files into a structured, actionable troubleshooting report.

Do I need prior profiling experience to use Rspack tracing?

No. The Skill includes guided reference materials and an end-to-end workflow that walks you through trace setup, data extraction, and targeted analysis without requiring advanced profiling knowledge.