-
Notifications
You must be signed in to change notification settings - Fork 230
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
Slow startup performance on nvm and rvm #8
Comments
Thanks, @patricktruebe! Yes, it's pretty much the same for me: much faster without the rvm and nvm scripts. I'm very interested in speeding it up, but I don't have the time right now to dive into this. |
For me, rvm isn't slow, it's nvm (also see nvm-sh/nvm#1277). I got it down from 2.9s to 2.2s by hard-coding the nvm path in
Without this line (ie. without nvm), boot time is only 1.4s for me. I'm benchmarking like this:
|
Hi @patricktruebe, I've done some work in my dotfiles. Regarding the performance issue, there were two calls to If you want to try it, you can run the I'm going to close this issue now, but feel free to discuss (and I'll be happy to re-open). |
Hey Lars,
thank you very much for sharing your great set of dotfiles. I am experiencing a very slow start with nvm and rvm bash-files enabled in runcom/.bash_profile. It takes nearly 5 seconds to launch a new shell. Disabling both modules reduces startup time to below 1 second.
Do you see similar results with your setup?
Patrick
The text was updated successfully, but these errors were encountered: