# web-infra-dev/rsdoctor

AI-friendly build analyzer for Rspack

Repository: https://github.com/web-infra-dev/rsdoctor
Canonical: https://ross.abutalabs.com/products/rsdoctor
Homepage: https://rsdoctor.rs
Language: TypeScript
License: MIT
License Family: permissive
Topics: analyze, bundle, rspack, webpack, build-analyzer, hacktoberfest, rstack
Last push: 2026-09-02T21:18:04+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 100, release rhythm 86, longevity 72
- inputs: {"age_days": 1008, "days_push": 0, "days_rel": 12, "gap_med": 7.0, "n_releases_24m": 79}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1139, forks 103 (observed 2026-09-03T02:15:20.466613+00:00)

## What it is
Rsdoctor is a build analyzer for Rspack (and legacy webpack) projects that visualizes compilation time, loader/plugin behavior, bundle composition, and module dependencies. It includes built-in and custom rule scanning for issues like duplicate packages and bundle degradation diffing.

## Use cases
- analyze why my rspack build is slow
- visualize bundle size and module dependencies
- detect duplicate packages in my bundle
- compare bundle output between builds to find regressions
- profile loader and plugin execution time
- scan build output for anti-patterns with custom rules

## When to choose
- you build with Rspack (or Rsbuild) and need visibility into build performance and output
- you want to find bundle bloat, duplicate dependencies, or ES version issues
- you need before/after bundle diffs to prevent degradation

## When to avoid
- your project uses Vite, esbuild, or another non-Rspack/webpack bundler
- you only need a quick bundle size number without build-process analysis
- you are on webpack and cannot migrate to Rspack (1.x is maintenance-only)

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, developer-tools, analytics, data-visualization, monitoring
- domain: developer-tools, web-development, frontend, performance
- platform: cli, cross-platform
- tags: rspack, webpack, bundle-analyzer, build-analysis, rstack, bundle-diff, loader-analysis, build-tools, nodejs

## Member repositories
- web-infra-dev/rsdoctor (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:20.466613+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:35:49.206252+00:00, confidence not recorded.
  - readme: https://github.com/web-infra-dev/rsdoctor (fetched 2026-09-03T02:15:20.466613+00:00, sha 01274fbfc53c)
  - homepage: https://rsdoctor.rs (fetched 2026-08-29T12:40:58.509764+00:00, sha 2751fda2d6fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
