Performance problems with Enhanced client in VS 2005/2008

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Igor.Samoylenko
Posts: 27
Joined: Fri Jun 17, 2005 8:13 am
Location: London, UK

Performance problems with Enhanced client in VS 2005/2008

Post by Igor.Samoylenko » Thu May 29, 2008 4:30 am

We've just migrated from v3.5 to v4.1.1. We are now trying to use the enhanced client but we are having performance problems with the enhanced client in both VS 2005 and 2008.

It works but the IDE seems generally very slow, freezing from time time to time, especially comparing to the classic client. For instance, we have two branches of the same solution (gui app), one using the classic client and the other using enhanced client.

Opening them side by side in VS 2008, I can see a substantial difference in performance on very basic operations. Checking files in and out (exclusive) or getting the latest version are all slow using the enhanced client. After checking out a single file for instance in the enhanced client the IDE freezes for about 10 seconds. In the classic client on the other hand checking files out is instantaneous and the IDE is available without any noticeable delays.

Some of the users also reported IDE freezing on just saving files to the disk.

I enabled logging and have the log of checking out a single file using the enhanced client. After doing the simple things (actually checking out the file etc), it went on to do lots of other things like refreshing the whole solution tree by tree (the whole operation took ~17 seconds)! I can send you the log for you to have a look at.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu May 29, 2008 6:10 am

Are these large projects?

If so, the next maintenance release should help with this. We made performance improvements in the Enhanced Client.

Vault 4.1.2 should be out in a day or two. We'd suggest that you upgrade, then if the slowdowns, persist, generate a new client log and send that to us along with the Vault Server log for the same time period.


The Vault server log is sgvault.log and is in %windir%\temp\sgvault on the server machine.

Send these as attachments to support at SourceGear.com Attn: Linda
Linda Bauer
SourceGear
Technical Support Manager

Igor.Samoylenko
Posts: 27
Joined: Fri Jun 17, 2005 8:13 am
Location: London, UK

Post by Igor.Samoylenko » Thu May 29, 2008 10:11 am

Thanks Linda.

I will try the new version when it is out and will let you know.

Igor.Samoylenko
Posts: 27
Joined: Fri Jun 17, 2005 8:13 am
Location: London, UK

Another issue with reverting to baseline

Post by Igor.Samoylenko » Fri May 30, 2008 7:35 am

I've upgraded my local client to v4.1.2. The performance has indeed improved markedly (so far I've only had a look at in VS 2008. Will check out VS 2005 as well). It looks good.

However, I now have another problem. In VS 2008, I tried to check out a file, edit the source (ass a simple comment) and then tried to updo the check out. It seems to have worked: the file reverts back to displaying a padlock, VS no longer shows it as edited. But: the my edited text is still there! I have to physically close and re-open the file to get back to the baseline version.

Is this a known issue?

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Fri May 30, 2008 7:53 am

Does this happen every time, or only intermittently? What type of project does this file belong to? If you undo the checkout from the pending changes pane, does the file reload?
Ian Olsen
SourceGear

Igor.Samoylenko
Posts: 27
Joined: Fri Jun 17, 2005 8:13 am
Location: London, UK

Post by Igor.Samoylenko » Fri May 30, 2008 8:05 am

The solution has 9 projects (GUI app - several libraries, GUI front-end - windows forms, database project and a set up project).

I have tried it on a class file (vb.net). when I do an undo check out from the context menu, I can still see my changes. Clicking in the open editor window with the source, causes the VS to prompt me if I want to reload the file (it changed outside of the IDE, do you want to reload it?). If I say yes it does reload the file.

I also tried it on a windows form and the behaviour is different. Undoing the checkout from the context menu or the file in the project tree does the same: the file appears to have reverted but I can still see my changes in the editor. The IDE does not prompt me to reload it at all. The only way to do it is to close and re-open the form in IDE.

I tried saving the file on the disk after making changes and before undoing check out. It makes no difference.

I also tried to use the pending changes window. That seems to work OK - everything gets re-loaded properly.

[Edited]: Oh yes, it does appear to be a persistent problem.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Fri May 30, 2008 8:07 am

It's a known issue that the right-click undo prompts you to reload. It sounds like when we fix that, this issue will go away as well. Sorry for the inconvenience.
Ian Olsen
SourceGear

Igor.Samoylenko
Posts: 27
Joined: Fri Jun 17, 2005 8:13 am
Location: London, UK

Post by Igor.Samoylenko » Fri May 30, 2008 8:10 am

But the IDE does not prompt me to reload windows form files at all. It only does it on standard classes (as far as I can see).

It also does the same if I undo check out on the file in the project tree in the solution explorer. Only undoing checked out files via the pending changes window seems to work OK.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Fri May 30, 2008 8:29 am

I understand. I can't reproduce that behavior, but I realized ultimately that doesn't matter: we'll fix this because when we eliminate the prompt for reload. It will work just like undoing it from the pending changes pane, which you've reported is working.
Ian Olsen
SourceGear

Post Reply