chore: add fixme to bench, which is not working
cargo devel CI / cargo CI (push) Successful in 1m40s Details

This commit is contained in:
Christoph J. Scherr 2024-07-22 12:21:31 +02:00
parent f2eb1f57ac
commit 86b75e5160
2 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,7 @@ where
let report = self.report_shared(); let report = self.report_shared();
let solver = self.solver(); let solver = self.solver();
// TODO: make this run in another thread somehow // TODO: make this run in another thread somehow
Self::bench(n, report, solver, &builder); Self::bench(n, report, solver, &builder)?;
Ok(()) Ok(())
} }
} }

View File

@ -44,6 +44,7 @@ where
// TODO: add some interface to get reports while the benchmark runs // TODO: add some interface to get reports while the benchmark runs
// TODO: make the benchmark optionally multithreaded // TODO: make the benchmark optionally multithreaded
// NOTE: This is blocking, use start to let it run in another thread // NOTE: This is blocking, use start to let it run in another thread
// FIXME: this never stops? Reports just keep getting printed
fn bench( fn bench(
n: usize, n: usize,
report: Arc<RwLock<Report>>, report: Arc<RwLock<Report>>,