You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when python-inquirer is waiting for input it is using a lot of CPU (probably a whole CPU thread) while waiting for input. I took these screenshots below:
The version I am running is:
inquirer 2.7.0 py_0 conda-forge
It's in a conda environment being run in PowerShell on Windows 10 Pro.
Is this expected behaviour? Is there anyway to make it less hungry?
Many thanks,
Mat
The text was updated successfully, but these errors were encountered:
this comes from the underlying readchar libary which has a while: True loop in the windows implimentation. This is whats hogging all the CPU. (see magmax/python-readchar#42)
The new v4.0.0 fixes this but is only in pre-release right now. You can however test if it solves this issue if you want.
Hi,
I noticed that when python-inquirer is waiting for input it is using a lot of CPU (probably a whole CPU thread) while waiting for input. I took these screenshots below:
The version I am running is:
inquirer 2.7.0 py_0 conda-forge
It's in a conda environment being run in PowerShell on Windows 10 Pro.
Is this expected behaviour? Is there anyway to make it less hungry?
Many thanks,
Mat
The text was updated successfully, but these errors were encountered: