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

feat: support optimize side effects free function calls

#12559
Comparing
feat/pure-fn
(
0fbde41
) with
main
(
8e3c676
)
CodSpeed Performance Gauge
-4%
Improvement
2
Regression
3
Untouched
11
Skipped
19

Benchmarks

35 total
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-4%
30 ms31.1 ms
rust@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-3%
10.6 ms10.9 ms
rust@flag_dependency_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-2%
17.3 ms17.6 ms
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+4%
145 ms139.5 ms
rust@create_chunk_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
4.2 ms4.2 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
344.6 ms342.7 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
707.6 ms706.6 ms
rust@create_module_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
21.9 ms21.9 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
731.1 ms731.2 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
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
42.3 ms42.4 ms
rust@split_chunks
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
9 ms9.1 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2.1 s2.1 s
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
110.4 ms110.6 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.4 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
-1%
1.5 s1.5 s
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
Skipped
114.7 ms*
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
1.6 s*
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
537.8 ms*
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
48.7 MB*
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
Skipped
0 B*
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
11 MB*
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
Skipped
86.8 MB*
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
Skipped
14.3 MB*
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
12.6 MB*

Commits

Click on a commit to change the comparison range
Base
main
8e3c676
-36.48%
refactor(tree-shaking): take side effects state artifact
4a9424c
3 days ago
by JSerFeng
-0.05%
perf(core): avoid cloning side effects state
932e475
3 days ago
by JSerFeng
-1.21%
fix(core): align side effects state call sites
5c84e67
3 days ago
by JSerFeng
+1.32%
fix(tree-shaking): reset parser side effects state
8c5bac3
3 days ago
by JSerFeng
-1.15%
refactor(tree-shaking): keep inner graph state in parser
bdd5b97
2 days ago
by JSerFeng
+33.6%
fix(core): clarify side effects state APIs
5ba6244
2 days ago
by JSerFeng
-33.4%
fix(tree-shaking): address review follow-ups
60c0a0b
2 days ago
by JSerFeng
+34.37%
fix(tree-shaking): tighten side effects free analysis
7da0fcd
2 days ago
by JSerFeng
-1.34%
fix(tree-shaking): ignore re-export names in duplicate scan
ea9c2a3
1 day ago
by JSerFeng
+1.24%
fix(tree-shaking): support default arrow pure hints
613930e
1 day ago
by JSerFeng
-0.47%
fix(tree-shaking): preserve aliased pure export names
0fbde41
1 day ago
by JSerFeng
© 2026 CodSpeed Technology
Home Terms Privacy Docs