diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-10 15:57:28 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-10 15:57:28 +0200 |
| commit | a34b1ebc074164ddefe2f434e2f11a5c7abd41d0 (patch) | |
| tree | 929a3c93a3e745adbabcf52cb01bb6533aebb5a2 | |
| parent | f246a4ab1f855ab53801c27ebd73d5eb6bd092db (diff) | |
adding time to script
| -rwxr-xr-x | perft.bash | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |
