Skip to content
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; clink_x64.exe seems to be to blame #1211

Closed
Jenuma opened this issue Dec 27, 2016 · 20 comments
Closed

Very slow; clink_x64.exe seems to be to blame #1211

Jenuma opened this issue Dec 27, 2016 · 20 comments
Labels
👆 clink Upstream issue in clink.

Comments

@Jenuma
Copy link

Jenuma commented Dec 27, 2016

Came into work today to find my commands were taking ages to execute, even those as simple as git status. Restarted my PC to no avail. Downloaded the latest release and tried a fresh install to no avail. Nothing has changed on this computer.

It takes anywhere from 30 seconds to 3 minutes to execute any git task. Native commands like dir seem to work instantly, but it still takes about 60 seconds for the prompt to show up again to enter a new command.

I found a few tickets with similar issues: #188 and #763. Neither really seem to have answers other than a suggestion to have get_git_dir() in clink.lua return false and comment the rest of the code out. That didn't work for me. #447 suggests the problem is with git itself, but this is not the case either as the same command in any other shell runs instantly and the prompt for a new command comes back up instantly.

My computer is running 64-bit Windows 10 Enterprise, has an i7 @ 3.40 GHz and 16 GB of RAM. No other programs are behaving slowly.

@Jackbennett
Copy link
Contributor

As a workaround, if you use the powershell task it doesn't need clink so it should remain speedy for you. If you don't use arguments to the usual windows commands(dir, cd, etc...) you shouldn't notice much different.

@JSamir
Copy link

JSamir commented Feb 24, 2017

I just discovered cmder today and had this issue right away...

When starting, it takes a few seconds (15-20) to open up completely, before that i see "clink_x64.exe" in the Tab before it shows "cmd.exe".

@JSamir
Copy link

JSamir commented Mar 21, 2017

As of today i tried cmder again, downloaded latest version, but got the same problem.
Cmder_mini:

  • Very slow start ( ~30 seconds)

Cmder_full:

  • Very slow start ( ~30 seconds)
  • Any unix command takes very long to execute (~30 seconds), even ls, doesnt matter in which directory i am

All Windows commands are executed immediately on either version.

@MarcusCaepio
Copy link

MarcusCaepio commented Jun 30, 2017

can confirm this: happened suddenly.....
#1426

@JSamir
Copy link

JSamir commented Jul 25, 2017

So i tried the latest dev build and the problem still persists. It really ruins the experience...

Any ideas how we can troubleshoot this issue?

@dmbarreiro
Copy link

I am suffering from this issue on version 171025. I've installed the same version on other computers with the same operating system (Windows 7) and there I didn't see the problem. @Jackbennett workaround helps.

@bigeast
Copy link

bigeast commented Dec 13, 2017

Same problem here, any command in a git repo directory will block the command prompt for about 30 second or so.

Drive me crazy. I found the similar issue #763 two years ago and now it‘s still a problem, I don't know what to say.

git version 2.14.1.windows.1
windows 10.0.16299.0
ConEmu 171025[64] Alpha

I HATE this shit.

@JSamir
Copy link

JSamir commented Jan 1, 2018

This really ruins the otherwise very nice cmder experience for me... also tried it on my colleagues laptop, they had the issue too. Note that we all use our company laptops, so we got similar setup.

@nhova
Copy link

nhova commented Jan 9, 2018

Seems like it may be IPV6 related.

If possible try to disable IPV6 in your network settings.

@JSamir
Copy link

JSamir commented Jan 9, 2018

@nhova Thanks, but that did not help in my case.

Starting cmder still takes around 30 seconds. I dont use cmder for git so I can't comment on that, although after its started the windows native commands are executed immediately, but linux commands like ls take around 1 second to execute.

@psinger
Copy link

psinger commented Jan 19, 2018

I have the same issue unfortunately. The first command takes ages to execute, after that it is quicker. Same happens in a new tab. It's happening mostly in bash console.

@RyanRLong
Copy link

Same issue as reported by others. Over 30 seconds to start, very slow to operate. What info can we submit?

@mark-walle
Copy link

I'm having this too. Seems to be open a new tab or window and sometimes when I terminate a running process. The tab at the bottom of the window reads "clink_x64.exe" hangs for roughly 20 or 30 seconds, then finally the expected lambda prompt appears and it works fine. using cmd::Cmder, haven't tried other tasks,, cmndermini 1.3.5 was choco installed on Windows 10 ee v1709 b16299.192.

@Stanzilla Stanzilla added the 👆 clink Upstream issue in clink. label Feb 23, 2018
@Jebble
Copy link

Jebble commented Oct 1, 2018

@Stanzilla can you please explain why the issue is marked closed as this issue is still active?
None of the advices here worked.

@Stanzilla
Copy link
Member

Because it's probably an upstream issue in clink

@Jebble
Copy link

Jebble commented Oct 1, 2018

Interesting. I never had this issue on the previous version I was running (Don't know what version number this was, but it was from sept 2017 - august 2018). It's only now that my laptop was reinstalled that CMDer became really slow.

@mmenschig
Copy link

This is still an issue in March 2020 running the latest version. Can we get an update on this?

@JiveyGuy
Copy link

Still ongoing, windows 10, 2024

@daxgames
Copy link
Member

Usually slowness is a side effect of something on the users own machine. Overzealous/misbehaving Anti-Virus or DLP software.

That being said we have worked to mitigate these issues by optimizing startup times as much as possible in un-released versions.

@chrisant996
Copy link
Contributor

chrisant996 commented Feb 14, 2024

Still ongoing, windows 10, 2024

@JiveyGuy This issue 1211 is about a specific kind of slowness, and is definitely not related to the slowness you're experiencing (for one thing, Clink has been literally almost completely rewritten since this issue was first opened).

Can you either open a new issue or reply in #2816, and include a description of specifically what is the nature of the slowness that you're experiencing?

  • Specifically what steps do you do?
  • Specifically when does slowness occur?
  • Specifically how long is the slowness?

Or if you believe you're tracked down that the slowness coming specifically from clink_x64.exe, then issue 1211 is the right place to discuss. If so, can you share the troubleshooting that led to that conclusion? As the maintainer of Clink, I'm willing to investigate any issues in Clink, but there isn't any information available yet to enable me to investigate anything.

But I think you're probably experiencing general slowness, as in #2816, and not anything related to Clink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👆 clink Upstream issue in clink.
Projects
None yet
Development

No branches or pull requests