aboutsummaryrefslogtreecommitdiff
path: root/benches/search.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-08-22 01:12:25 +0300
committereug-vs <eugene@eug-vs.xyz>2023-08-22 01:12:54 +0300
commitbc599d145a8d3a5e69128bc9e702ac7a32d73a4c (patch)
treef3c5f07a6b260ffc8bbee51c4e05c8184bb4f992 /benches/search.rs
parent67247cb4f2985de052c1edb8b7a831c7df241719 (diff)
downloadchessnost-bc599d145a8d3a5e69128bc9e702ac7a32d73a4c.tar.gz
fix: typing in benchmark
Diffstat (limited to 'benches/search.rs')
-rw-r--r--benches/search.rs4
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();