-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cmder is extremely slow #763
Comments
It is same for me. That should caused by git. How can I disable the git prompt plugin? |
I just replace below line with |
didn't helped 😢 |
I also have extremely slow cmder but only when I connect trough remote desktop. The host machine is Windows 7 enterprise. KBD input takes 4-5 seconds per character. Opening cmder takes more than 6 seconds. All other console windows (cmd, bash, PS) are OK How can I help to fix this? PS: Probably this is the correct issue for my problem => #644 |
Cmder is insanely slow for me too since the update ! |
on my personal computer (windows 10) it's extremely slow, but on my work computer (windows 7) it's pretty fine. |
@Bliker any idea? |
same here ! |
+1 |
1 similar comment
+1 |
Same here! |
A lot of this is resolved in the CI builds, newer versions of completions in cmd and powershell are a lot faster. I'm hoping to have a pre-release available soon. |
@MartiUK: Awesome! Looking forward to it! 👍 |
If it can help, running cmder as admin seems to solve the problem on my computer. (At least it isn't as slow..) |
+1, same issue. It does not happens 100% of times though, sometimes restarting cmder fixes the problem. |
+1 |
This happens to me usually when I launch cmder with a split panel configuration. Most of the times one of the panels will be fine and the other would be really slow to react to input. Agree that it usually works itself out if I close cmder and try opening it again. |
+1 |
This happens to me intermittently as well. Cmder is great 90% of the time, but occasionally (eventually?) it slows down to an insane crawl. A reboot is always needed to fix it. |
No fair...... I get i7 process and 16GB memory with 0s cmd start up time...... It takes me more than 40 seconds to start cmder in a non git directory. I have no idea why it is soooooooo slow. |
As a hint for anyone here: |
I have been using 1.3.0 pre for a long time and every now and then vim freaks out and hogs 98% cpu. Only way to recover is to kill vim.exe. No idea why but I have not really tried to figure it out. |
I tried a few more times to reinstall cmder, now I'm with 1.3 pre and it's pretty much fine compared to what I had before. On 1.2 I encountered the most slowness in git folders (not that others were fast..). Anyway, I still think it can be better, the problem is that I don't know what affects the slowness of cmder, maybe it's some settings, another programs etc. If you also have this problem, react with 👍 on the issue itself, that way not all of the participants will get notifications for every +1 comment! |
Any word on this? Starting a new PowerShell cmd window takes nearly a minute. It's unusable. |
@delscorcho which version of cmder are you on? |
1.2.9. It's a lot better with the 1.3.0 pre-release. |
I'd like to add small hint to this thread ( and it might be a good idea to add this to the vendor/profile.ps1) |
Thanks @SCLeoX If I start my cmder on a git folder the problem is solved (i'm using cmder v1.2.9) |
@centur which of the answers there were useful for you? |
@arieljannai oh, I didn't realize I referenced to the question, not to the answer. "Run NGEN on Posh binaries." is useful, I have it in my profile script for admin prompt. |
Also for me it works really - my version 1.3.11.843. It tooks ages to startup also moving from one dir to other take really long. Looking forward for solutions... |
I read somewhere(Google how to speed up WSL) Windows Defender affects the speeds of WSL very very much. You can get 5x speed on WSL I/O and other operations by disabling it. Maybe disabling it will also help Cmder. |
This ticket is closed but seems like this is still happening, at least for me it happens on a daily basis, super slow to open new tabs and to perform simple things such as an ls. |
I solve the problem. I just installed Linux and... problem solved!! :) |
Same here |
I'm seeing extreme slowness as well. |
Smae issue here on a high-end laptop; in 2019 |
In my case, the slowness was caused by my laptop looking for my employer's domain when I was at home. It seems to be some kind of windows terribleness where the domain lookup has to timeout before cmder (or maybe the underlying msys?) can run anything. I found a work-around here: http://bjg.io/guide/cygwin-ad/) |
Turning off Windows Defender helped a lot for me. |
just remove those function calls , and hard code all env, since you know the very git_install location. which is fast |
I disabled the git as mentioned in one of the comments, cmder still taking 16 seconds to load |
having it integrated with vscode, switching from branch to branch or writing a simple commit message is suuuper slow, any ideas on how to solve this? |
Possibly is caused by anti-malware. Do you use ESET? For example, ESET has been having performance problems lately with ConEmu. If so, you can probably confirm by turning off "Deep Behavioral Inspection" in ESET. |
hey, thanks for the reply. nope, just use standard win 10, no any custom anti-virus software installed - it uses standard win10 protection. |
@aleksandarbos I assume you are using git? How big is the git repo? Is the speed consistent across all git repos? Is this a fresh cmder install or have you updated an old install over the years? Try a fresh install. @chrisant996 if the below is incorrect, please correct me: Look in
Set it to |
big thanks @daxgames it's fixed!
i've noticed it's git related, each time for example if i'd start typing something in cmder, vs code would start refreshing git status. repo size is moderate i guess. i just recently downloaded new version hoping it will fix it, and i'm on |
@aleksandarbos Glad to help |
What version of Cmder were you using before? v1.3.20 includes improvements that make the git prompt be updated completely in the background; there should be zero delay from git anymore. |
prev version was |
Setting that completely disables the git status in the prompt. But you also upgraded to 1.3.20, and you no longer need to set that: 1.3.20 fixed the git slowness. |
@chrisant996 this is the description of that setting and why I recommended it to him
|
@aleksandarbos was using v1.3.18. That doesn't know about Upgrading to v1.3.20 is mainly what fixed the slowness. @daxgames I misremembered how that works. I looked it up, and here is how it works: Once upgraded to v1.3.19 or v1.3.20, then v1.3.21 (not yet released) fixes that by moving In v1.3.21 and higher, setting |
@chrisant996 after some more testing, it seems to be only the issue with the integrated cmder instance within the vscode. it clearly waits for git status and that seems the issue causing the cmder to run slow. launching cmder in a separate window, everything works fine. |
@aleksandarbos can you clarify? Earlier you said after upgrading to Cmder 1.3.20 and setting the Lua variable, the slowness was gone.
If you're saying Cmder 1.3.20 is slow in vscode, can you double check that vscode is using Cmder 1.3.20 and not an earlier version of Cmder? Also, can you clarify specifically where the slowness occurs? Are you saying when you press Enter at a command prompt with no input in the integrated Cmder 1.3.20 shell inside vscode, there is a delay before the next prompt appears? That's confusing since 1.3.20 runs git in the background and doesn't wait for it. I could easily see how 1.3.18 could be extra slow inside vscode, since vscode itself runs git status frequently, and running two git status currently can make one of them take an extra long time due to lock contention. |
@aleksandarbos Thank you for clarifying where you're seeing slowness. That is very different from the slowness we were talking about between prompts. You're experiencing slowness while typing input. I've never heard of that before. I can try to take a look. If you happen to have instructions for how to set up Cmder integrated inside vscode, can you share a link? |
think this one should do, https://github.com/cmderdev/cmder/wiki/Seamless-VS-Code-Integration. this is my config:
think that i was trying to solve this issue before, it had something to do with |
@aleksandarbos The Also, when using git outside vscode, how long does manually running Is that repo publicly available? I.e. can I clone it so that I have a repo where git status is slow? None of the repos on my home machine take longer than 1 second to run |
looks like switching |
Hi,
Cmder is very slow (I don't know if it's only me or not, I guess not).
cmder.lua
does. Without it it takes significant less time to do simple operations (still not speedy as regular cmd or cygwin, but reasonable).git.exe
and going back tocmd.exe
afterwards. This process which I don't know yet why it's happening also slows it down a lot.Hope those are things that can be fixed!
Please tell me if there's something I can check to help with that. It's a great tool and it's frustrating that I can't use it.
Thanks! ☀️
Ariel
If needed, I can record my screen while doing simple actions to demonstrate it 📹 💻
The text was updated successfully, but these errors were encountered: