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

fix(esm-library): handle CSS modules in preserveModules

#13670
Comparing
fy/friendly-volhard
(
9c06688
) with
main
(
cf5761c
)
CodSpeed Performance Gauge
-2%
Improvement
1
Regression
2
Untouched
25
Skipped
10

Benchmarks

38 total
rust@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-2%
10.6 ms10.9 ms
rust@persistent_cache_restore_after_single_file_change@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
-2%
27.5 ms27.9 ms
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+3%
139.3 ms135.5 ms
rust@flag_dependency_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
17.5 ms17.4 ms
rust@persistent_cache_restore@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
+1%
26.4 ms26.3 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
346 ms343.7 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
264.7 µs263 µs
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
111.6 ms111.3 ms
rust@create_module_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
12.6 ms12.6 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
84 µs83.9 µs
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
42.5 ms42.4 ms
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
CodSpeed Performance Gauge
0%
12.4 ms12.3 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
709.8 ms709 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
735.4 ms735 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
0%
1.5 s1.5 s
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
62 µs62 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
212.3 µs212.3 µs
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
31.1 ms31.1 ms
rust@create_chunk_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2 s2 s
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
21 ms21 ms
rust@split_chunks
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
6.7 ms6.7 ms
rust@scan_dependencies@three_module
xtask/benchmark/benches/groups/scan_dependencies.rs::scan_dependencies::benchmark_scan_dependencies
CodSpeed Performance Gauge
0%
23.7 ms23.7 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
79.3 µs79.5 µs

Commits

Click on a commit to change the comparison range
Base
main
cf5761c
-2.15%
fix(esm-library): handle CSS modules in preserveModules
9c06688
2 hours ago
by JSerFeng
© 2026 CodSpeed Technology
Home Terms Privacy Docs