web-infra-dev
rspack
BlogDocsChangelog

test: split Config, Watch and NativeWatcher tests into 3 parts for better parallelization

#12379Merged
Comparing
test/split-config-watch-tests
(
da160c7
) with
main
(
3faa835
)
CodSpeed Performance Gauge
0%
Untouched
17

Benchmarks

Passed

js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
522.7 µs515.7 µs
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
117.2 ms116.9 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
77.9 µs77.8 µs
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_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
105.1 ms105 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
258.4 µs258.3 µs
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
1.6 s1.6 s
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
24.2 ms24.2 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
208.6 µs208.5 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
65.6 µs65.6 µs
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
770.9 ms771.1 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
88.1 µs88.1 µs
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
570.6 ms570.9 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
371.4 ms371.6 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
725.2 ms726.5 ms

Commits

Click on a commit to change the comparison range
Base
main
3faa835
+0.11%
test: split Config, Watch and NativeWatcher tests into 3 parts for better parallelization This commit splits the following test files into 3 parts each: - Config.test.js → Config.part1/2/3.test.js (136 dirs: 49/44/43) - Watch.test.js → Watch.part1/2/3.test.js (32 dirs: 12/9/11) - NativeWatcher.test.js → NativeWatcher.part1/2/3.test.js (32 dirs: 12/9/11) The split is based on alphabetical ranges for easy maintenance: - Part 1: a-d (or a-co for Watch/NativeWatcher) - Part 2: e-o (or cp-p for Watch/NativeWatcher) - Part 3: p-z (or r-z for Watch/NativeWatcher) Benefits: - Better parallelization across test workers - More balanced load distribution - Easy to maintain with simple regex patterns šŸ¤– This PR was generated by AI (Cursor/Claude)
da160c7
22 hours ago
by LingyuCoder
Ā© 2025 CodSpeed Technology
Home Terms Privacy Docs