Mesure : temps de l'analyse du coup joué à 2 plis

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-03 15:00:39 +01:00
co-authored by Claude Opus 5.5
parent 23f4d47fcf
commit 6b5e0d2b5e
5 changed files with 23 additions and 4 deletions
+1
View File
@@ -35,6 +35,7 @@ const { positions } = JSON.parse(readFileSync(sitePath("wasm/positions.json"), "
const times = await measureTimes({
bestMove: (...args) => engine.run(commands.bestMove(...args)),
cubeDecision: (...args) => engine.run(commands.cubeDecision(...args)),
analyseMove: (...args) => engine.run(commands.analyseMove(...args)),
}, positions, (done, total) => process.stderr.write("\r " + done + "/" + total + " calculs"));
process.stderr.write("\n");