Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Hg is very slow on mapped network drivers #27

Open
brunosaboia opened this issue Jan 24, 2014 · 2 comments
Open

Hg is very slow on mapped network drivers #27

brunosaboia opened this issue Jan 24, 2014 · 2 comments

Comments

@brunosaboia
Copy link

Hello,

I'm using ConEmu + posh-hg. Thanks for the tool, its is really great.

The only serious issue I've found so far is regarding mapped network drivers.

I've use the command New-PSDrive –Name "Z" –PSProvider FileSystem –Root \\myremote\myshare –Persist to create a new network driver. It happens that the path is a mecurial repository. However, hg.exe takes a long time to resolve this path. It isn't a network issue because this share is actually on one of my virtual machines. When I disable hg, it is very fast to access the folder.

I can profile the directory change to see how long it takes, but it's about 5, 6 seconds everytime I hit the "enter" button. My machine is also OK (i7, 16 GB RAM, SSD), so it should not take that long.

Thanks for everything

@TetsujinOni
Copy link

Bruno, could you benchmark running "hg status" on the network share in question versus running it locally on the VM, as I think that might point at the root cause of the slowness?

@brunosaboia
Copy link
Author

Jonathan, I will gladly do it, but it was almost three years since I wrote this post, so the project I mentioned is complete and I don't use hg in my new ones. But I can create a test repo and see how that goes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants