devottys / xdplayer

Terminal crossword puzzle player
MIT License
19 stars 2 forks source link

High CPU usage when idle #15

Open shimeike opened 2 years ago

shimeike commented 2 years ago

Came across this nice looking crossword interface by way of visidata (which is awesome).

When running xdplayer (in a python 3.10.6 virtualenv on linux 5.19.7, installed via pip per README), one core of my CPU is basically pegged at 100%. Is this intended/known? Maybe not a big deal on a desktop machine, but not so good for doing puzzles on a laptop on battery power.

saulpw commented 2 years ago

Hey @shimeike, thanks for letting us know. I think this might be due to multiplayer support, which we should add an option to disable. Hopefully soon!

shimeike commented 2 years ago

Thanks for the reply and info. Such an option sounds great if that is, in fact, the cause. Cheers!