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

Slowdowns when running commands in ConEmu #350

Closed
lowjoel opened this Issue Oct 1, 2015 · 6 comments

Comments

Projects
None yet
3 participants
@lowjoel
Copy link

lowjoel commented Oct 1, 2015

As mentioned in #345, running a script in a ConEmu window takes much longer than in a normal cmd.exe window.

cmd.exe:
C:\Users\Joel>C:\usr\bin\date && "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" && C:\usr\bin\date
Thu Oct 1 23:20:45 MPST 2015
Thu Oct 1 23:20:46 MPST 2015

conemu:
C:\usr\bin\date && "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" && C:\usr\bin\date
Thu Oct 1 23:21:14 MPST 2015
Thu Oct 1 23:21:31 MPST 2015

Not sure what other information you'd need.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Oct 1, 2015

@lowjoel

This comment has been minimized.

Copy link
Author

lowjoel commented Oct 1, 2015

Hmm, I think if you go see vsvarsall.bat the script is actually very simple. Taking 1 second vs 17 seconds is quite big an overhead, definitely not a 10ms overhead.

Should I recompile conemuhk.dll and try to do a profile?

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Oct 2, 2015

You may try.
But I think I know where is the problem: minhook's Freeze of threads. Have to do something with that...

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Oct 7, 2015

How about build 151006?

@lowjoel

This comment has been minimized.

Copy link
Author

lowjoel commented Oct 8, 2015

Awesome! That fixed it.

@jasir

This comment has been minimized.

Copy link

jasir commented Oct 14, 2015

@lowjoel maybe you can close this issue?

@Maximus5 Maximus5 closed this Oct 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.