-
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
take longer time compare with chess module #95
Comments
Many of the custom parameters you chose in your code for #94 don't make the engine stronger. E.g., you're using the minimum for Threads, Skill Level, Hash. One or more of these could have an influence on engine speed. E.g., lowering Skill Level makes SF increase the value for MultiPV, in order for it to have sub-optimal moves to pick from. Also, you're using depth 9 for the python chess module, but that's still very low. Running Stockfish directly, it gets to depth 9 in an instant. So it'd be better to test both python modules using a depth value of at least 20. What was the time difference when you did your tests? |
already tried different parameter, and
but still got the same result, that's why before post an issue, already try to mix some parameter value and perhaps can change the result, but the result is same (stockfish python module take longer) question |
For taking longer, do you mean looping forever, or just slower in general? To get comparable results, I'd recommend not sending in any parameters for the python stockfish module, just set depth to something like 25. For python chess, maybe just set hash equal to 1024, and also depth to 25. Use defaults for everything else. |
in this issue is talk about just stockfish engine not it's derivates
so it's never looping forever when using stockfish engine with stockfish python module, it's just slower comparable when the same stockfish app above version 11 is used by chess module |
Hello, this project is no longer maintained in this repo but on this fork. (For more information about this please look here). It is not possible to transfer the entire discussion here. However, when we go through the remaining issues, we will get back to you and either create a proxy issue or find another solution. Just be aware that the project will no longer be updated here. |
stockfish python module take longer time compare with chess module using the same stockfish version
can compare my code using stockfish python module on #94
with
when using stockfish module set the parameter to 0 in hope to have faster result
and when using chess python module set the parameter to 9 in hope to have longer
but the result is stockfish python module still get the longer time
tested using default parameter in stockfish python module but still get the longer time
The text was updated successfully, but these errors were encountered: