-
-
Notifications
You must be signed in to change notification settings - Fork 803
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 prompt return #21
Comments
This is repeatable on several normally sized repos. I believe it comes down to all of the test-paths inside the get Git branch. call. But are they all necessary. doesn't the "git branch" command provide you with sufficient info to determine the branch? |
Performance has been an open issue pretty much from the beginning. You can set The most common msysgit configuration uses git.cmd, which adds environment overhead to every call. To speed things up a bit you can use git.exe instead of git.cmd. You just have to port some of the settings in git.cmd into your PowerShell profile. Something like this:
On my system that trimmed around 300ms off every Beyond that, by default posh-git should populate almost everything in the prompt from parsing a single You can also set |
Fixed "FixedTermLoanOfferTest"
Maybe we should close this issue given its age and the fact that I'm seeing prompt times in the area of <100 ms on small repos and ~300 ms on medium size repos (6500 files). |
Between improvements in Git for Windows, #208, and various posh-git optimizations, I think we're doing about as well as we can. |
Added hg flow patterns to HgTabExpansion
It takes several seconds for the branch and change stuff to show up.
Is this a core thing in posh-git.
I'd love to understand more about the implementation of how the information is gathered from the repo.
The text was updated successfully, but these errors were encountered: