question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Heavy CPU usage while waiting for input in PowerShell

See original GitHub issue

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:

inquirer_wait

inquirer_cpu

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
H0R5Ecommented, Jul 28, 2022

low_cpu_usage

Solved! Looking forward to the full release.

0reactions
Cube707commented, Aug 12, 2022

closed with the latest readchar release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Powershell running hidden script consuming 70% of cpu
Hello I have been having an issue with our server at work recently and cant get to the bottom of it. Two Powershell...
Read more >
Get Average CPU utilization for test execution in powershell
The underlying problem was that the test was running for anywhere between 2 and 60 seconds, and there where runs where the Get-WmiObject...
Read more >
Powershell scripts to get overall CPU usage from list of servers
I am looking for a script which gives me total CPU usage of a list of ... 0 and 100%, just depending on...
Read more >
Using Performance Counters - powershell.one
High CPU load heats up systems, costs power and may be an indication of ... Learn how to automate CPU load monitoring with...
Read more >
Fix PowerShell Causing High CPU Usage in Windows 11/10 ...
Fix PowerShell Causing High CPU Usage in Windows 11/10 [Tutorial] Commands Used: sfc/ scannow dism /online /cleanup-image /restorehealth ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found