knapp aber knapp heißt eben nicht

This commit is contained in:
Christoph J. Scherr 2024-04-18 14:10:32 +02:00
parent 274a6026b4
commit b4fa88eab5
1 changed files with 3 additions and 4 deletions

View File

@ -2,8 +2,6 @@
// #![warn(missing_docs)]
#![warn(missing_debug_implementations)]
use std::sync::Arc;
use clap::Parser;
use libpt::log::*;
use tokio;
@ -66,8 +64,9 @@ async fn main() -> anyhow::Result<()> {
trace!("{bench:#?}");
let n = cli.n;
let bench2 = bench.clone();
let in_progress_bench = tokio::spawn(async move {
bench.bench(n)
bench2.bench(n).await
});
while !bench.is_finished() {