-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Extremely slow startup #2023
Comments
@eparizzi : are you a windows insider ? actually i have the same issue, and i actually wonder if its not related to windows itself... some of my programs accessible via right-click ( open with... ) are now pretty slow to launch ( eg. for IDEs or archives programs ). On the other side the cmd/powershell shift/right-click works pretty well. |
If I add |
@daxgames Could you provide a little more info on where exactly you put /f. I have tried several scenarios but all fail. |
@SpeedySparrow it's all In the README.md |
Thanks. It did improve my startup, not quite with your impressive results but still better. |
You can also do a |
Aah, that's where you got that timer from:-). Well, my readings doesn't make much sense to me. 3 times with and without /f. Using Launchy but directly from C:\cmder seems to yield the same weird measures. Without /f With /f |
That is still crazy slow even with /f |
@SpeedySparrow do you have an antivirus/antimalware you can disable and try again. These could be slowing it down. If they are you might be able to exclude cmder from on access scans and get it back to full speed. Just curious what hardware you running this on, processor, hdd type, and memory? |
Those times can't be right the fastest says it took 15+ minutes to start |
True, something must be wrong with the timings. In real time:-) it's more like 5-6 seconds. I am on a Lenovo T460s with: Still weird with the timings:-) |
@SpeedySparrow I personally know others with corporate laptops that have the similar complaints. Sorry not anything we can do about that. |
I also noticed slowness on my corporate laptop but after disconnecting the network drives i saw a huge improvement in startup time when opening new bash consoles. |
@GF-Huang yes. If you want it to be faster but sacrifice some rarely used functionality you can add |
Got it, thank you all. |
for me it was the GIT_INSTALL_ROOT environment setting that was missing. therefore the init.bat was taking a long time to discover where git.exe was installed. After setting GIT_INSTALL_ROOT in my environment settings, cmder starts a whole lot faster. |
The hint from mvanwaaijen really helped! |
just remove those function calls , and hard code all env, since you know the very git_install location. which is fast |
@doglex that works great for a single person with a single set of settings if that person wants to maintain his own |
Is it possible to store these values after first run? and then change them if the need arises? |
@DerDemystifier I don't think that means what you think it means. 😀 I do not believe that variable is used by Git bash at all. What it is used for is to skip re-running parts of Released Cmder versions MUST run the Unreleased Cmder mentioned in a PR #2825 makes It's probably an external bad actor causing the issue and not Cmder at all. See issue #2816 for details on why Cmder load may be slow. |
I've upgraded from version
1.3.6.678
to latest1.3.11.843
and the startup is painfully slow. More than 5s.I've even tried downloading a fresh copy of the mini release and put it into my C: drive (which is a Samsung 960 EVO) and it's the same.
Previous version loaded almost instantly.
The text was updated successfully, but these errors were encountered: