Skip to content

feat: align tracing implementation with Rspack CLI#5216

Merged
chenjiahan merged 1 commit intomainfrom
rspack_tracing_0512
May 12, 2025
Merged

feat: align tracing implementation with Rspack CLI#5216
chenjiahan merged 1 commit intomainfrom
rspack_tracing_0512

Conversation

@chenjiahan
Copy link
Member

Summary

Align tracing implementation with Rspack CLI. Refactoring the profiling logic, adding flexibility for trace output configuration, and updating related documentation and tests.

RSPACK_PROFILE=ALL #overview trace events
RSPACK_PROFILE=OVERVIEW # all trace event
RSPACK_PROFILE=warn,tokio::net=info

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented May 12, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit a6fe31c
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/68215ac341870800089233c5
😎 Deploy Preview https://deploy-preview-5216--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 70 (🔴 down 9 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@chenjiahan chenjiahan merged commit 5cdd362 into main May 12, 2025
12 checks passed
@chenjiahan chenjiahan deleted the rspack_tracing_0512 branch May 12, 2025 02:26
@chenjiahan chenjiahan mentioned this pull request May 12, 2025
github-merge-queue bot pushed a commit to lynx-family/lynx-stack that referenced this pull request May 21, 2025
## Summary

<!-- Can you explain the reasoning behind implementing this change? What
problem or issue does this pull request resolve? -->

Update the profiling documentation to align with the new implementation
in web-infra-dev/rsbuild#5216.

<!-- It would be helpful if you could provide any relevant context, such
as GitHub issues or related discussions. -->

## Checklist

<!--- Check and mark with an "x" -->

- [ ] Tests updated (or not required).
- [x] Documentation updated (or not required).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant