Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit d6419b2

Browse files
Add files via upload
1 parent 98a2f35 commit d6419b2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

mayhem.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2725,8 +2725,8 @@ void UciPrintBoard(const std::string &fen) {
27252725
// Calculate perft split numbers
27262726
// > perft
27272727
// Nodes: 119060324
2728-
// Time(ms): 1190
2729-
// NPS: 100050692
2728+
// Time(ms): 1536
2729+
// NPS: 77513231
27302730
void UciPerft(const std::string &depth2, const std::string &fen) {
27312731
const Save save{};
27322732
const auto depth = depth2.length() ? std::max(0, std::stoi(depth2)) : 6;
@@ -2738,7 +2738,8 @@ void UciPerft(const std::string &depth2, const std::string &fen) {
27382738
const auto start = Now();
27392739
const auto nodes2 = depth >= 0 ? Perft(!g_wtm, depth - 1, 1) : 0;
27402740
const auto ms = Now() - start;
2741-
std::cout << (i + 1) << ". " << g_boards[0][i].movename() << " -> " << nodes2 << " (" << ms << " ms)" << std::endl;
2741+
std::cout << (i + 1) << ". " << g_boards[0][i].movename() << " -> " <<
2742+
nodes2 << " (" << ms << " ms)" << std::endl;
27422743
nodes += nodes2;
27432744
total_ms += ms;
27442745
}
@@ -2752,8 +2753,8 @@ void UciPerft(const std::string &depth2, const std::string &fen) {
27522753
// > bench
27532754
// Result: 60 / 60
27542755
// Nodes: 241185678
2755-
// Time(ms): 17312
2756-
// NPS: 13931705
2756+
// Time(ms): 16648
2757+
// NPS: 14487366
27572758
// > bench inf 10000
27582759
// Result: 60 / 60
27592760
// Nodes: 7302365969

0 commit comments

Comments
 (0)