style: cargo fmt sweep under rustc 1.98.1 (toolchain reformat, no semantic change)
Four files were already fmt-dirty on 8fd724a; the merge added none.
This commit is contained in:
+9
-3
@@ -634,16 +634,22 @@ fn main() {
|
||||
run_n("tokio multi-thread", ITERS, bench_pp_tokio_multi);
|
||||
|
||||
// ---- 5. spawn_pair_control ----
|
||||
print_header(&format!("spawn_pair_control: {PP_ROUNDS} rounds, no messages"));
|
||||
print_header(&format!(
|
||||
"spawn_pair_control: {PP_ROUNDS} rounds, no messages"
|
||||
));
|
||||
run_n("smarm 1-thread", ITERS, || bench_ctl_smarm(1));
|
||||
run_n(&format!("smarm {n}-thread"), ITERS, || bench_ctl_smarm(n));
|
||||
run_n("tokio current_thread", ITERS, bench_ctl_tokio_current);
|
||||
run_n("tokio multi-thread", ITERS, bench_ctl_tokio_multi);
|
||||
|
||||
// ---- 6. ping_pong_steady ----
|
||||
print_header(&format!("ping_pong_steady: 1 pair × {PP_STEADY} roundtrips"));
|
||||
print_header(&format!(
|
||||
"ping_pong_steady: 1 pair × {PP_STEADY} roundtrips"
|
||||
));
|
||||
run_n("smarm 1-thread", ITERS, || bench_steady_smarm(1));
|
||||
run_n(&format!("smarm {n}-thread"), ITERS, || bench_steady_smarm(n));
|
||||
run_n(&format!("smarm {n}-thread"), ITERS, || {
|
||||
bench_steady_smarm(n)
|
||||
});
|
||||
run_n("tokio current_thread", ITERS, bench_steady_tokio_current);
|
||||
run_n("tokio multi-thread", ITERS, bench_steady_tokio_multi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user