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

WIP: feat: Treeshake macro implementation

#10740
Comparing
treeshake-macro
(
8342466
) with
main
(
ff654c6
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
16
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

bundle@basic-react-production
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production
CodSpeed Performance Gauge
+2%
11.7 ms
11.5 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project::js@stats.toJson()
CodSpeed Performance Gauge
+1%
25.5 ms
25.4 ms
bundle@threejs-production
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production
CodSpeed Performance Gauge
+1%
2 s
2 s
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse compilation.modules
CodSpeed Performance Gauge
0%
67.3 µs
67.1 µs
rust@build_chunk_graph
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph
CodSpeed Performance Gauge
0%
92.1 ms
91.9 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project::js@is css mod
CodSpeed Performance Gauge
0%
90.1 µs
90 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project::js@collect imported identifiers
CodSpeed Performance Gauge
0%
218.2 µs
217.8 µs
bundle@basic-react-production-sourcemap
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production-sourcemap
CodSpeed Performance Gauge
0%
12.5 ms
12.5 ms
bundle@threejs-production-sourcemap
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production-sourcemap
CodSpeed Performance Gauge
0%
2.5 s
2.5 s
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project::js@record module
CodSpeed Performance Gauge
0%
2 ms
2 ms
rust@build_chunk_graph_parallel
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph_parallel
CodSpeed Performance Gauge
0%
75.5 ms
75.5 ms
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%
536.8 µs
537.4 µs
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project::js@record chunk group
CodSpeed Performance Gauge
-1%
91.1 µs
91.5 µs
bundle@threejs-development
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-development
CodSpeed Performance Gauge
-1%
999.7 ms
1,006.3 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by connections
CodSpeed Performance Gauge
-1%
284.9 µs
288.3 µs
bundle@basic-react-development
tasks/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-development
CodSpeed Performance Gauge
-4%
8.6 ms
8.9 ms

Commits

Click on a commit to change the comparison range
Base
main
ff654c6
0%
feat: enhance string parsing error handling in init_fragment - Add comprehensive error handling for string parsing operations - Validate bounds before slicing to prevent panics - Add detailed warning logs for malformed patterns - Improve robustness of ConsumeShared macro processing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
8342466
10 days ago
by ScriptedAlchemy
© 2025 CodSpeed Technology
Home Terms Privacy Docs