"winget list --name xy" executes VERY SLOW when using broad filter (for the first time?) #4701
Labels
Area-Performance
Issue related to CPU or memory performance
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Brief description of your issue
when I execute "winget list" I do get a result with 376 entries. This command takes apr. 2.5 sec to execute and show.
when I execute "winget list --name My" I do get 4 lines and it takes apr. 4.5 sec.
when I execute "winget list --name Mi" I do get 134 lines (all containing Microsoft ;-) ). This took about 2:40 minutes to show the first time I called it. After the successful call the same command takes now apr. 10 sec. (Also if executed in new Command window)
when executing "winget list --name A" I never was able to get any result until now....
Note: the spinning '|' indicator in all cases stops after some seconds and a 'normal blinking console cursor' is shown for the rest of the time.
Steps to reproduce
Expected behavior
there should a result be presented after some decent time.
Actual behavior
the example from "steps to reproduce" never gave any results after keeping the command window open for more than 15 minutes....
Environment
The text was updated successfully, but these errors were encountered: