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

fix: tree-shaking unused `RawModule`

#10954Merged
Comparing
colinaaa:colin/0709/raw-module
(
1528d1d
) with
main
(
9101e5d
)
CodSpeed Performance Gauge
+1%
Improvements
0
Regressions
0
Untouched
16
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-development
CodSpeed Performance Gauge
+2%
5 ms
5 ms
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production
CodSpeed Performance Gauge
+2%
7.8 ms
7.7 ms
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse compilation.modules
CodSpeed Performance Gauge
+1%
70.5 µs
69.6 µs
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-development
CodSpeed Performance Gauge
+1%
924.1 ms
912.3 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production-sourcemap
CodSpeed Performance Gauge
+1%
8.9 ms
8.8 ms
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production
CodSpeed Performance Gauge
+1%
1.8 s
1.8 s
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project::js@record module
CodSpeed Performance Gauge
+1%
2 ms
2 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production-sourcemap
CodSpeed Performance Gauge
+1%
2.4 s
2.3 s
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%
80.2 ms
79.8 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project::js@stats.toJson()
CodSpeed Performance Gauge
0%
25.2 ms
25.1 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project::js@record chunk group
CodSpeed Performance Gauge
0%
83.3 µs
83.2 µs
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%
286 µs
286 µ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%
91.3 ms
91.3 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project::js@collect imported identifiers
CodSpeed Performance Gauge
0%
219.3 µs
219.5 µs
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by dependencies
CodSpeed Performance Gauge
0%
568.8 µs
569.7 µs
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project::js@is css mod
CodSpeed Performance Gauge
-1%
90 µs
90.8 µs

Commits

Click on a commit to change the comparison range
Base
main
9101e5d
+20%
fix: tree-shaking `RawModule`
4a19caf
8 days ago
by colinaaa
0%
test: port webpack-tests
c8f8d39
8 days ago
by colinaaa
+1%
fix: clippy
5cddce4
8 days ago
by colinaaa
-20%
fix: do not change `Module`
7551451
7 days ago
by colinaaa
0%
Merge branch 'main' into colin/0709/raw-module
1528d1d
6 days ago
by stormslowly
© 2025 CodSpeed Technology
Home Terms Privacy Docs