Conversation
There was a problem hiding this comment.
Code Review
This pull request updates various dependencies, including SWC and Wasmtime, and makes adjustments to the Turbopack runtime to improve module export handling and cross-origin configuration. I have reviewed the changes and identified an inconsistency in how the initializeApp export is registered compared to the default export in the generated output, which should be addressed for consistency.
a456c93 to
262d231
Compare
| filename | ||
| } | ||
|
|
||
| #[cfg(feature = "test")] |
There was a problem hiding this comment.
没必要搞这么多层 cfg 吧,371行一个 cfg test 里调一下 sort_stats_fo_test 就好了
| [features] | ||
| default = ["process_pool"] | ||
| plugin = ["swc_core/plugin_transform_host_native", "turbopack-ecmascript-plugins/swc_ecma_transform_plugin"] | ||
| plugin = ["swc_core/plugin_transform_host_native"] |
There was a problem hiding this comment.
上游的 swc wasm plugin 是不是切成 wasmtime 了,这个能大幅提升 rust 编译速度和减小二进制体积,看看我们要同步改什么
2f95d3c to
f48276d
Compare
📊 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
just bump next.js & turbopack.
Test Plan
snapshot test case updated