test: add defer import case for #19219#21292
Conversation
|
|
This PR is packaged and the instant preview is available (58666af). Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@58666af
yarn add -D webpack@https://pkg.pr.new/webpack@58666af
pnpm add -D webpack@https://pkg.pr.new/webpack@58666af |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21292 +/- ##
=======================================
Coverage 92.86% 92.86%
=======================================
Files 594 594
Lines 64980 64980
Branches 18155 18155
=======================================
Hits 60345 60345
Misses 4635 4635
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
a3a86b0 to
58666af
Compare
Merging this PR will not alter performance
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Memory | benchmark "asset-modules-inline", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
381.2 KB | 1,194.8 KB | -68.09% |
| ❌ | Memory | benchmark "wasm-modules-sync", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
131.8 KB | 358.5 KB | -63.24% |
| ⚡ | Memory | benchmark "side-effects-reexport", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
860.2 KB | 130 KB | ×6.6 |
| ⚡ | Memory | benchmark "many-modules-esm", scenario '{"name":"mode-development","mode":"development"}' |
1.9 MB | 1.2 MB | +68.5% |
| ⚡ | Memory | benchmark "wasm-modules-async", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
250.2 KB | 190.2 KB | +31.53% |
| ⚡ | Memory | benchmark "many-chunks-esm", scenario '{"name":"mode-production","mode":"production"}' |
11.4 MB | 8.8 MB | +30.22% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing test-claude/webpack-pr-19219-4mh8ue (58666af) with main (54fa902)
Types CoverageCoverage after merging test-claude/webpack-pr-19219-4mh8ue into main will be
Coverage Report |
Summary
What kind of change does this PR introduce?
Add defer import test case for #19219.
Did you add tests for your changes?
Yes
Does this PR introduce a breaking change?
No
If relevant, what needs to be documented once your changes are merged or what have you already documented?
No
Use of AI
Yes