generated from PlexSheep/rs-base
chore: add fixme to bench, which is not working
cargo devel CI / cargo CI (push) Successful in 1m40s
Details
cargo devel CI / cargo CI (push) Successful in 1m40s
Details
This commit is contained in:
parent
f2eb1f57ac
commit
86b75e5160
|
@ -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(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>>,
|
||||||
|
|
Loading…
Reference in New Issue