]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
Try to get a more precise bench time (#2211)
[stockfish] / src / benchmark.cpp
index 51bd7949d1a2b2386d8da1b1f8c9a5432a0b146e..b23c5d17ef70ce90bb8225237f1f068373ca941e 100644 (file)
@@ -139,9 +139,9 @@ vector<string> setup_bench(const Position& current, istream& is) {
       file.close();
   }
 
-  list.emplace_back("ucinewgame");
   list.emplace_back("setoption name Threads value " + threads);
   list.emplace_back("setoption name Hash value " + ttSize);
+  list.emplace_back("ucinewgame");
 
   for (const string& fen : fens)
       if (fen.find("setoption") != string::npos)