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

fix(rstest): avoid async wrapper for sync mock factories

#13764Merged
Comparing
9aoy/fix-rstest-sync-mock-factory
(
834808f
) with
main
(
86caffb
)
CodSpeed Performance Gauge
0%
Untouched
34

Benchmarks

34 total
rust@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+2%
10.2 ms9.9 ms
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+2%
1.5 ms1.5 ms
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
138.1 ms136.9 ms
rust@create_chunk_assets
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
3.6 ms3.6 ms
rust@runtime_requirements
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
57.4 ms57.1 ms
rust@create_module_assets
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
780.5 µs777.2 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
211.3 µs210.5 µs
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
29.8 ms29.7 ms
rust@mangle_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
11.4 ms11.4 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
264.7 µs264.2 µs
rust@create_chunk_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
rust@create_module_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
21.4 ms21.4 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
0%
1.5 s1.5 s
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2 s2 s
rust@create_module_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
12.1 ms12.1 ms
rust@real_content_hash
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
34.5 ms34.5 ms
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
CodSpeed Performance Gauge
0%
11.9 ms11.9 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
20.9 ms20.9 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
78.7 µs78.7 µs
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
41.2 ms41.3 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
826.6 µs827.6 µs
rust@scan_dependencies@three_module
xtask/benchmark/benches/groups/scan_dependencies.rs::scan_dependencies::benchmark_scan_dependencies
CodSpeed Performance Gauge
0%
23.2 ms23.2 ms
rust@create_full_hash
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
6.9 ms6.9 ms
rust@split_chunks
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms

Commits

Click on a commit to change the comparison range
Base
main
86caffb
-0.04%
fix(rstest): avoid async wrapper for sync mock factories
553ae60
9 hours ago
by 9aoy
+0.1%
test(rstest): improve mock bundle assertions
834808f
8 hours ago
by 9aoy
© 2026 CodSpeed Technology
Home Terms Privacy Docs