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

feat: support `import.meta.main`

#13489Merged
Comparing
import-meta-main
(
808011e
) with
main
(
b166649
)
CodSpeed Performance Gauge
-7%
Improvement
1
Regression
1
Untouched
7
Skipped
17

Benchmarks

26 total
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-7%
261.3 µs280.8 µs
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+2%
533.9 µs526 µs
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
1.5 ms1.4 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
211.1 µs210.4 µs
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
83.6 µs83.4 µs
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
21.7 ms21.7 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
78.2 µs78.3 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
61.4 µs61.6 µ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*
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
19.5 MB*
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
728.6 ms*
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
Skipped
1.5 s*
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
343.8 ms*
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
2.1 s*
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
Skipped
110.7 ms*
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
Skipped
12.4 ms*

Commits

Click on a commit to change the comparison range
Base
main
b166649
-1.75%
feat: support import.meta.main
2b6d712
23 hours ago
by ahabhgk
+0.03%
fix
8c23f60
22 hours ago
by ahabhgk
+1.59%
fix concat modul
427a0dc
3 hours ago
by ahabhgk
-6.77%
fix
808011e
1 hour ago
by ahabhgk
© 2026 CodSpeed Technology
Home Terms Privacy Docs