-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add bench command #75
Conversation
@zhelyabuzhsky the build tests are stuck on the pytest checks. This is because the benchmark function gets stuck. You may need to cancel these tests unless they have a timeout. |
This PR is now fixed and is ready for review. I have also fixed all the failing unit tests in this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for you contribution!
Co-authored-by: Ilya Zhelyabuzhsky <zhelyabuzhsky@icloud.com>
Co-authored-by: Ilya Zhelyabuzhsky <zhelyabuzhsky@icloud.com>
Great work, thank you @Pavocracy |
This draft PR is currently not 100% working. The bench command has been added with the benchmark function, but the bench command outputs to both stdout and stderr. I am having trouble getting stderr to be read properly. For me when testing locally it only outputs some of the stderr and then gets stuck and needs to be forcefully closed.
Any suggestions on getting this PR working would be greatly appreciated.
You can see how the bench command works here: https://github.com/official-stockfish/Stockfish/blob/master/src/uci.cpp