web-infra-dev
rspack
BlogDocsChangelog

feat: do not render js output if ref module is only css source type

#12329
Comparing
feat/optimize-esm-require-css
(
abc0bb7
) with
main
(
5838590
)
CodSpeed Performance Gauge
0%
Untouched
17

Benchmarks

Passed

js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
77.8 µs77.6 µs
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
769.8 ms769.2 ms
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
570.7 ms570.4 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
1.6 s1.6 s
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
262.4 µs262.5 µs
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
373.7 ms373.8 ms
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
113.2 ms113.2 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2.1 s2.1 s
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
24.2 ms24.3 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
87.9 µs88 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
209.4 µs209.7 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
66 µs66.1 µs
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
726 ms727.5 ms
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
104.8 ms105.2 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
511.9 µs513.8 µs
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-2%
1.5 ms1.5 ms

Commits

Click on a commit to change the comparison range
Base
main
5838590
-0.2%
feat: do not render js if ref module is only css source type
abc0bb7
18 hours ago
by JSerFeng
© 2025 CodSpeed Technology
Home Terms Privacy Docs