On Fri, 2009-02-27 at 00:09 +0000, TK Soh wrote: > On Thu, Feb 26, 2009 at 2:30 PM, Marko Käning <mk...@mch.osram.de> wrote: > > Hi, > > > >> > BTW, TortoiseHg slows down our QT app, as a lot of python dlls has to be > >> > loaded when opening a file/directory dialog too. (When debugging, it's > >> > triple annoying when the C++ debugger loads each python dll and tries to > >> > find debugging symbols for it.) > >> > >> That's a known problem too. And we apologize for it. > > > > Yeah, I can confirm this: my 700 MHz W2k machine needs about 7 to 10 > > seconds every time I try to synchronize a repo or have a look at the > > ChangeLog until the corresponding dialog actually appears on the screen... > > Quite annoying. From that point of view a seperate application (which > > keeps all it's DLLs loaded) would make more sense to me, just like WinCVS > > (but luckyly TortoiseCVS is not that slow). Python itself is a real show > > stopper here. > > Just to be clear, my comment was pointing to explorer shell extension, > specifically the overlay icons. > > The slowness in bring up the dialogs is a different issues, though it > may be somehow related. > > > Actually even on my WXP machine (2.1 GHz P4) THG is not really fast... :( > > I wonder why. It feel okay on my 8-year-old AMD 1Ghz with 384MB RAM. > The dialogs usually pop up in a second or two.
I think this is mostly determined by the size of the repository you are working with. This reminded me of something. The time lag between right clicking and finally seeing a context menu is almost certainly caused by the opening of an hg repository object. We use that repo object today to modify the menu you see (enable the merge or unmerge options when applicable, etc). This is an area where we could make some compromises. We could create a pretty accurate context menu just by knowing if you were inside of a repository or not, without actually opening the repository. We could key on the presence of an .hg/store directory or something similar. I may experiment with this and see what difference it makes. I suspect instantaneous context menus would improve the overall feel of the tool. -- Steve ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss