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(