diff options
Diffstat (limited to 'benches/search.rs')
-rw-r--r-- | benches/search.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benches/search.rs b/benches/search.rs index 2f482ce..26c4c09 100644 --- a/benches/search.rs +++ b/benches/search.rs @@ -1,4 +1,4 @@ -use std::{time::{Instant, Duration}, f32::INFINITY}; +use std::{time::Instant, f32::INFINITY}; use chessnost::{board::{Board, io::IO}, grossmeister::Grossmeister}; fn main() { @@ -7,7 +7,7 @@ fn main() { let mut gm = Grossmeister::new(board); let start = Instant::now(); - let (score, pv) = gm.iterative_deepening(6, Duration::from_secs(15), true); + let (score, pv) = gm.iterative_deepening(8); println!("Finished in {:?}: score={:?} {:?}", start.elapsed(), score, pv); gm.board.print(); |