Skip to content

"winget list --name xy" executes VERY SLOW when using broad filter (for the first time?) #4701

Open
@RobertK66

Description

@RobertK66

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

  • open normal cmd window with 'run as admin'.
  • type "winget list --name A"

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

Windows-Paket-Manager v1.8.1911
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22631.3880
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.23.1911.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-PerformanceIssue related to CPU or memory performanceIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions