feat(pack): add tracing option to control default tracing output#2809
feat(pack): add tracing option to control default tracing output#2809fireairforce merged 3 commits intonextfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a "tracing" configuration option across the CLI, shared configuration, and core build logic, allowing users to toggle default tracing logs. The option is integrated into the NAPI project structures, CLI command arguments for build and dev, and the internal bundle options where it defaults to true. I have no feedback to provide.
|
支持完全关掉 tracing ? 那 dev 的启动过程怎么透出呢? |
默认没关,透传一个配置,umi 那边可以拿到 dev 完成的状态 |
📊 Performance Benchmark Report (with-antd)Utoopack Performance ReportReport ID: Executive Summary
Build Phase TimelineShows when each build phase is active and how much CPU it consumes.
Workload Distribution by Diagnostic Tier
Top 20 Tasks by Self-TimeSelf-time is the exclusive duration: time spent in the task itself, not in sub-tasks.
Critical Path AnalysisThe longest sequential dependency chains that determine wall-clock time.
Batching CandidatesHigh-volume tasks dominated by a single parent. If the parent can batch them,
Duration Distribution
Action Items
Report generated by Utoopack Performance Analysis Agent |
Summary
Add option for control
@utoo/pack's tracing output.issue: #2792
PR: umijs/umi#13297
Test Plan