Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let the user choose what output they want from benchmark #99

Open
johndoknjas opened this issue Sep 9, 2024 · 0 comments
Open

Let the user choose what output they want from benchmark #99

johndoknjas opened this issue Sep 9, 2024 · 0 comments

Comments

@johndoknjas
Copy link

johndoknjas commented Sep 9, 2024

Currently the benchmark function returns the "Nodes/second" output line after running the bench command. However, generally the "Nodes searched" line is of interest as well. So maybe add a parameter to benchmark allowing the user to specify what piece of info they want, and consider just returning the int value (rather than a string of the whole line).

On a separate note, consider making params a default Optional param equaling None. If it is None, just send the bench command without anything else to Stockfish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant