Restore perft
authorMarco Costalba <mcostalba@gmail.com>
Tue, 15 Aug 2017 08:05:22 +0000 (01:05 -0700)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 18 Aug 2017 16:04:38 +0000 (09:04 -0700)
commit45e254a0a0d4cbc574e5a65bd4584036b01091b6
tree16a083aa440ca4dee747962ddf2b08d382ce6e07
parent444d99b6d24ba823c8c1ed7a94f3c15b0a536024
Restore perft

Rewrite perft to be placed naturally inside new
bench code. In particular we don't have special
custom code to run perft anymore but perft is
just a new parameter of 'go' command.

So user API is now changed, old style command:

$perft 5

becomes

$go perft 4

No functional change.
src/benchmark.cpp
src/search.cpp
src/search.h
src/uci.cpp
tests/perft.sh