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

Treeshake fix

#10790Closed
Comparing
treeshake-fix
(
d8a2824
) with
treeshake-macro
(
8342466
)
CodSpeed Performance Gauge
+87%
Improvement
6
Regression
1
Untouched
9

Benchmarks

16 total
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-6%
537.4 µs573.5 µs
bundle@basic-react-development
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+87%
8.9 ms4.8 ms
bundle@basic-react-production
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+46%
11.5 ms7.9 ms
bundle@basic-react-production-sourcemap
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+45%
12.5 ms8.6 ms
bundle@threejs-development
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+7%
1,006.3 ms938.7 ms
bundle@threejs-production
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+6%
2 s1.8 s
bundle@threejs-production-sourcemap
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+6%
2.5 s2.4 s
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
288.3 µs284.7 µs
rust@build_chunk_graph
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
+1%
91.9 ms91.2 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
90 µs89.3 µs
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
25.4 ms25.2 ms
rust@build_chunk_graph_parallel
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
75.5 ms75.5 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
217.8 µs217.7 µs
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
2 ms2 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
91.5 µs91.7 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-4%
67.1 µs69.9 µs

Commits

Click on a commit to change the comparison range
Base
treeshake-macro
8342466
+70.26%
fix: remove dead code and emojis from test files
99ec7b3
9 months ago
by ScriptedAlchemy
+14.62%
chore: clean up lock file and remove rustc ICE files
c5f5494
9 months ago
by ScriptedAlchemy
+2.6%
feat: implement tree-shaking for Module Federation ConsumeShared CommonJS modules
c758cf4
9 months ago
by ScriptedAlchemy
-3.17%
Merge branch 'treeshake-macro' into treeshake-fix
b278aab
9 months ago
by ScriptedAlchemy
+0.91%
fix: resolve clippy warnings in ConsumeSharedExportsDependency tests
855e2af
9 months ago
by ScriptedAlchemy
+1.06%
fix: disable PURE annotations for ConsumeShared detection
096a6f0
9 months ago
by ScriptedAlchemy
-1.18%
fix: re-enable PURE annotations with improved ConsumeShared detection
16556aa
9 months ago
by ScriptedAlchemy
+2.69%
fix: update hot test snapshots for improved PURE annotation detection
e8cd2d2
9 months ago
by ScriptedAlchemy
-12.81%
feat: update all rspack test snapshots for improved PURE annotation support
be1618e
9 months ago
by ScriptedAlchemy
+10.34%
chore: enable on all
5cb1eda
9 months ago
by ScriptedAlchemy
-1.5%
fix: resolve Module Federation compilation errors
b2b3d3f
9 months ago
by ScriptedAlchemy
-9.96%
docs: expect CI runtime diff test failures - this is correct behavior
4e15f14
9 months ago
by ScriptedAlchemy
-3.94%
docs: CI test failures are expected - rspack improvements over webpack
d537f34
9 months ago
by ScriptedAlchemy
+4.64%
fix: use hardcoded './' for import chunk loading to match webpack baseline
b58ebf2
9 months ago
by ScriptedAlchemy
+9.27%
fix(runtime): prepend public path in module_chunk_loading_with_loading template\n\nrefactor(test): update require-as-expression expectation to include PURE annotation
6036153
9 months ago
by ScriptedAlchemy
+0.84%
fix(test): correct JSON escaping in runtime diff snapshot
08abad5
9 months ago
by ScriptedAlchemy
+0.26%
fix(runtime): use PUBLIC_PATH in module chunk loading template
a402397
9 months ago
by ScriptedAlchemy
-4.95%
fix(runtime): revert dynamic import to use relative paths for Node.js compatibility
748cdba
9 months ago
by ScriptedAlchemy
+3.12%
fix: restore PUBLIC_PATH usage in module chunk loading template
c5528d9
9 months ago
by ScriptedAlchemy
-3.59%
chore: remove comments
6c31981
9 months ago
by ScriptedAlchemy
+5.31%
test: update CJS tree-shaking test expectations and consolidate test cases
6b1f7a8
9 months ago
by ScriptedAlchemy
+1.71%
fix: apply clippy suggestion to use or instead of or_else
d8a2824
9 months ago
by ScriptedAlchemy
© 2026 CodSpeed Technology
Home Terms Privacy Docs