posh-git
posh-git copied to clipboard
Importing posh-git within the Visual Studio 2019 Developer PowerShell is very slow
System Details
- posh-git version/path: 1.0.0 beta4 ~\Documents\WindowsPowerShell\Modules\posh-git\1.0.0
- PowerShell version: 5.1.17763.1490
- git version 2.28.0.windows.1
- OS: Microsoft Windows NT 10.0.17763.0
Issue Description
I have posh-git to import in my profile file. This file is also executed when opening the Developer Powershell for VS 2019.
When opening a regular powershell importing the module takes about 1 second.
When importing the module within the Developer Powershell it takes about 6 seconds.
I measured using measure-command { import-module posh-git -minimumversion 1.0 }
I'm not sure where that comes from.
Can anyone else reproduce this?
Is this still an issue for you?