-
Notifications
You must be signed in to change notification settings - Fork 19
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
The very large delay caused by resh. #161
Comments
That is very weird. RESH really shouldn't add that much time. What OS are you running? Just for reference, my machine (with resh):
|
$ bash --version
I'm currently switched to ariadne, and no further analysis and research were carried out on resh. |
I have an idea about what may cause this. Resh calls git for each command (to get if you are in a git repo). If you are in a huge repository git may be slow (the same happens for some git-related ZSH plugins). Line 42 in eadb9ab
is it possible that it is what happened @hongyi-zhao ? |
Nope. The command is executed very quickly in my case: werner@X10DAi-00:~/Public/repo/github.com/ApolloAuto/apollo.git$ time git remote get-url origin 2>/dev/null
https://github.com/ApolloAuto/apollo.git
real 0m0.087s
user 0m0.055s
sys 0m0.031s |
After I've installed resh, the latency between two consecutive commands can become very high, as shown below:
Any hints for this problem?
Regards,
HY
The text was updated successfully, but these errors were encountered: