lucaschessR2
lucaschessR2 copied to clipboard
Sluggish with analysis bar enabled
I have always had the analysis bar enabled by default and never thought anything of it. However, I recently turned it off and noticed that moving pieces are much snappier. It could be that the code that controls piece movement waits until the analysis bar finishes evaluation. If this so, why not let the analysis bar run asynchronously or start its own process to avoid the sluggishness or hanging ?
I have some ideas about the movement of pieces that I will implement in the R6 version, and that will probably solve this kind of problem. In this R2 version, I will not make any such changes.
In the end I've made some changes, recycling work I've done for the R6, I'm not sure the changes will solve the situation.
Thanks for the update. I just tried it. Two things I noticed.
- The analysis bar animation is now has a very low framerate (choppy), which looks weird.
- Stockfish keeps running in the background (high cpu usage), which was not the case in the previous version.
- I didn't notice much of an improvement in the snappiness as compared to before.
In total, this feels more like a regression.
Thank you. I have compared both versions and the new one, which should theoretically work better, does not. So now and in the future on the R6, it reverts to the previous version.