From 3026cbce320d55f8d6bea062c8fd5226d7af3366 Mon Sep 17 00:00:00 2001 From: itsjunetime Date: Thu, 5 Mar 2026 12:05:25 -0600 Subject: [PATCH] switch benches over to other runtime --- benches/rendering.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/benches/rendering.rs b/benches/rendering.rs index bbdc938..0927279 100644 --- a/benches/rendering.rs +++ b/benches/rendering.rs @@ -34,7 +34,12 @@ fn for_all_combos( name: &'static str, mut f: impl FnMut(&Runtime, BenchmarkId, &'static str, ProtocolType) ) { - let rt = tokio::runtime::Runtime::new().unwrap(); + let rt = tokio::runtime::Builder::new_multi_thread() + .worker_threads(3) + .enable_time() + .build() + .unwrap(); + for proto in PROTOS { for file in FILES { f(