remove wlist from builtinbench
cargo devel CI / cargo CI (push) Failing after 1m15s Details

This commit is contained in:
Christoph J. Scherr 2024-04-12 10:35:19 +02:00
parent e6934bfb08
commit 932a3f92b0
1 changed files with 0 additions and 2 deletions

View File

@ -11,7 +11,6 @@ use super::{Benchmark, Report};
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct BuiltinBenchmark<'wl, WL: WordList, SL: Solver<'wl, WL>> { pub struct BuiltinBenchmark<'wl, WL: WordList, SL: Solver<'wl, WL>> {
wordlist: &'wl WL,
solver: SL, solver: SL,
builder: GameBuilder<'wl, WL>, builder: GameBuilder<'wl, WL>,
report: Arc<Mutex<Report>>, report: Arc<Mutex<Report>>,
@ -33,7 +32,6 @@ where
info!("using {threads} threads for benchmarking"); info!("using {threads} threads for benchmarking");
rayon::ThreadPoolBuilder::new().num_threads(threads).build_global().unwrap(); rayon::ThreadPoolBuilder::new().num_threads(threads).build_global().unwrap();
Ok(Self { Ok(Self {
wordlist,
solver, solver,
report: Arc::new(Mutex::new(Report::new(builder.build()?))), report: Arc::new(Mutex::new(Report::new(builder.build()?))),
builder, builder,