Simpler tokio runtime (#140)

* Simpler tokio runtime; 3 threads and no io driver

* switch benches over to other runtime
This commit is contained in:
June
2026-03-05 15:54:55 -06:00
committed by GitHub
parent fca61d55b5
commit 725c6c6bfd
3 changed files with 20 additions and 6 deletions
+6 -1
View File
@@ -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(