aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xperft.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/perft.bash b/perft.bash
index 74e1250..4977bcc 100755
--- a/perft.bash
+++ b/perft.bash
@@ -9,10 +9,13 @@ testPerft() {
result=$(./build/mono "perft" $depth "$fen")
count=$(echo $result | jq -r '.result')
+ took=$(echo $result | jq -r '.ms')
if [ "$count" = "$expected" ]; then
echo "Results match"
+ echo "Took: $took ms"
else
echo "RESULTS DONT MATCH"
+ echo "Took: $took ms"
echo "Depth: $depth"
echo "Fen: $fen"
echo "Expected: $expected"