Second update: I found another massive performance issue when running concurrent winget commands due to how it's using mutexes inefficiently, resulting in slow runs over a minute for a simple "winget show": github.com/microsoft/wi...
github.comPackaged preindexed source read opens are serialized behind an exclusive mutex under concurrent winget usage · Issue #6167 · microsoft/winget-cliBrief description of your issue Packaged winget appears to serialize read-only opens of the preindexed winget source behind a single exclusive cross-process mutex. Under concurrent winget usage, co...
I think I found why many winget commands are atrociously slow: it recursively scans a local cache of the winget-pkgs repository to search manifest files. This is not a cache path easily excluded from Sophos AV scans. A simple winget search takes over a minute, I'm not kidding 😭
1 repost5 likes