Implement PERF Testing #9

Closed
opened 2025-08-16 17:10:33 +00:00 by Josh · 0 comments
Owner

We can test the engine's performance by answering two question:

  • Does it generate legal moves?

  • How long does the engine take to generate all legal moves to a given depth from a given position?

PERF testing allows us to test the engine in both ways. We can take a set of known positions and compare our legal move count output to the set of already known and calculated outputs in the community. We can also measure how long it takes the engine to generate the set of legal moves. This is important because our AI will eventually need to iterate millions of positions and perform calculations on each of the positions.

Reference:

We can test the engine's performance by answering two question: - Does it generate legal moves? - How long does the engine take to generate all legal moves to a given depth from a given position? PERF testing allows us to test the engine in both ways. We can take a set of known positions and compare our legal move count output to the set of already known and calculated outputs in the community. We can also measure how long it takes the engine to generate the set of legal moves. This is important because our AI will eventually need to iterate millions of positions and perform calculations on each of the positions. Reference: - https://www.chessprogramming.org/Perft
Josh added the
enhancement
label 2025-08-17 18:18:54 +00:00
Josh added the
WIP
label 2025-08-19 19:57:00 +00:00
Josh closed this issue 2025-08-19 22:33:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: projects/chess#9
No description provided.