]> git.sesse.net Git - stockfish/commit
Better perft integration in benchmark
authorMarco Costalba <mcostalba@gmail.com>
Sun, 18 Apr 2010 08:18:49 +0000 (09:18 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 18 Apr 2010 08:18:49 +0000 (09:18 +0100)
commita49e4fac9839263ef2a3b885a051ec842b1202d9
treeba1d30a35947fd9b0af5dc0fe47eb4a5c4fa0e44
parent87379c2929c1d7f3a35aae4ed1115e98fcde388a
Better perft integration in benchmark

Now with:

   stockfish bench 128 1 5 default perft

it is possible to get perft 5 results of each position and
the first 3 positions correspond to the well known test
position in:

http://chessprogramming.wikispaces.com/Perft+Results

This allow to quickly check for perft consistency running
the 'bench' command.

No functional change but signature has changed because
bench default positions 2 and 3 have changed.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/benchmark.cpp