-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(builder): support RSPACK_PROFILE #4772
Conversation
🦋 Changeset detectedLatest commit: ee1e214 The changes in this PR will be included in the next version bump. This PR includes changesets to release 257 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4772 +/- ##
==========================================
- Coverage 57.59% 51.18% -6.41%
==========================================
Files 672 680 +8
Lines 17794 18961 +1167
Branches 3876 4376 +500
==========================================
- Hits 10249 9706 -543
- Misses 6934 8526 +1592
- Partials 611 729 +118 ☔ View full report in Codecov by Sentry. |
Summary
🤖 Generated by Copilot at 238e113
This pull request adds a new feature to the
@modern-js/builder-rspack-provider
package that allows users to enable Rspack build performance profile by setting theRSPACK_PROFILE
environment variable. The feature generates CPU profile and logging data for each build and saves them to a profile directory. The pull request also updates the documentation of the Rspack guide in both English and Chinese to explain how to use the feature and view the profile files.Details
🤖 Generated by Copilot at 238e113
@modern-js/builder-rspack-provider
package (link, link)logging
andloggingTrace
properties toStatsOptionsObj
interface in@modern-js/builder-shared
package (link)@modern-js/builder-rspack-provider
package (link)Related Issue
Checklist
pnpm run change
.