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
{{ message }}
Repository navigation
dotnet-suggest PowerShell shim slows down every pwsh startup #2897
The PowerShell shim runs dotnet-suggest list every time the profile loads. On my machine that adds 600 to 900 ms to every pwsh start (Windows, pwsh 7.6, median of 15 runs). The Get-Command check adds about 60 ms more.
dotnet-suggest list only reads ~/.dotnet-suggest-registration.txt and lists the files in ~/.dotnet/tools. The shim can read those directly without starting a process. A quick version of that takes around 55 ms and returns the same list.
I'll send a PR for the PowerShell shim. The bash and zsh shims spawn the same process and could get the same fix later.
Activity