Avatar for the web-infra-dev user
web-infra-dev
rspack
BlogDocsChangelog

feat(rslib): do not hoist `import` externalized module to webpack modules

#11358
Comparing
require-compact
(
2cca3bf
) with
main
(
580b9cd
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
17
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project::js@external getResolve
CodSpeed Performance Gauge
+2%
1.5 ms
1.5 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by dependencies
CodSpeed Performance Gauge
+1%
569 µs
564.1 µs
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-development
CodSpeed Performance Gauge
+1%
405.6 ms
403.2 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production-sourcemap
CodSpeed Performance Gauge
0%
802.8 ms
800.1 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-development
CodSpeed Performance Gauge
0%
850.8 ms
848.3 ms
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph_parallel
CodSpeed Performance Gauge
0%
92.7 ms
92.5 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by connections
CodSpeed Performance Gauge
0%
283.7 µs
283.3 µs
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project::js@record chunk group
CodSpeed Performance Gauge
0%
83 µs
82.9 µs
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production-sourcemap
CodSpeed Performance Gauge
0%
2.3 s
2.3 s
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project::js@is css mod
CodSpeed Performance Gauge
0%
87.8 µs
87.8 µs
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production
CodSpeed Performance Gauge
0%
1.7 s
1.7 s
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production
CodSpeed Performance Gauge
0%
604.6 ms
604.4 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project::js@record module
CodSpeed Performance Gauge
0%
2 ms
2 ms
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse compilation.modules
CodSpeed Performance Gauge
0%
65 µs
65 µs
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project::js@stats.toJson()
CodSpeed Performance Gauge
0%
25.3 ms
25.3 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project::js@collect imported identifiers
CodSpeed Performance Gauge
0%
212.8 µs
213.4 µs
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph
CodSpeed Performance Gauge
0%
100.4 ms
100.8 ms

Commits

Click on a commit to change the comparison range
Base
main
580b9cd
0%
feat(rslib): do not put `import` externalized module in webpack modules
2cca3bf
11 hours ago
by fi3ework
© 2025 CodSpeed Technology
Home Terms Privacy Docs