Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very slow startup for PowerShell 7.3.x on Windows 10 #378

Open
IkerGimenez opened this issue Mar 1, 2023 · 0 comments
Open

Very slow startup for PowerShell 7.3.x on Windows 10 #378

IkerGimenez opened this issue Mar 1, 2023 · 0 comments
Labels

Comments

@IkerGimenez
Copy link

Describe the bug
PowerShell Core takes several seconds (over 10) to show a prompt and respond to input. When I disable powerline-go in my Profile.ps1 file, the problem no longer happens.

To Reproduce

  1. Install PowerShell Core (latest) on Windows 10
  2. Confirm that PowerShell starts up in the expected amount of time
  3. Install powerline-go
  4. Run PowerShell again. The prompt should be considerably slower to show up.
  5. Comment out the loading of powerline-go in Profile.ps1
  6. Try running PowerShell again and see that it's back to its expected startup time

Expected behavior
Startup time should not be affected (or negligible in terms of effect on startup times).

Environment (please complete the following information):

  • OS: Windows 10
  • Architecture: Intel 64 bit x86
  • Shell: PowerShell

Additional context
I've reproduced it both in Windows Terminal and the plain PowerShell prompt, so it's not Windows Terminal related. It's also not font related, as changing fonts doesn't solve the problem. I haven't tried using an older version of PowerShell Core.

@IkerGimenez IkerGimenez added the bug label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant