I am doing a "Show Differences" on a large folder with many subfolders and thousands of files, to compare the working directory with the repository version. It takes Vault quite a long time to retrieve all the files from the server (like 5 minutes before the diff window opens). This might be expected the first time, if the current version of those files/folders is not locally cached. But it takes the same amount of time to do "Show Differences" a second time. I would expect that Vault would have that version of the tree locally cached at that point, so why is it re-retrieving the files?
If the client-side cache is not organized in a way that the diff utility can use it -- let's say it's not a directory tree that exactly matches the working folder -- even in this case, Vault could build a temporary directory tree usable by the diff utility by using NTFS links between its cached files and the temp tree. Or am I missing something?
This unnecessary retrieving of the whole tree occurs with sgdm and also with a third-party diff tool, although using the 'builtin' diff might be a little faster.
Why is folder diff so slow?
Moderator: SourceGear
Re: Why is folder diff so slow?
How long does it take to just perform a Get on the same folder that you are diffing?
Could you go to Help - Technical Support,copy all the information except for the licensing information and post it here?
Could you go to Help - Technical Support,copy all the information except for the licensing information and post it here?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Why is folder diff so slow?
Doing a 'Get' takes about as long as the Diff -- it's obvious that the time is dominated by the time to get the files from the server. My issue is that Vault should be able to build a tree for the diff engine without re-downloading all the files from the server.
Here's the client info:
Client Information
Vault Client Version: 4.1.3.18336
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 3.5 GB
Time Zone: (GMT-08:00) Pacific Time (US & Canada)
Server Information
Vault Server Version: 4.1.3.18336
.Net Framework Version: 2.0.50727.832
Operating System: Microsoft(R) Windows(R) Server 2003 Enterprise x64 Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT-08:00) Pacific Time (US & Canada)
SQL Version: Microsoft SQL Server 2005 - 9.00.2047.00 (X64)
Apr 14 2006 01:11:53
Copyright (c) 1988-2005 Microsoft Corporation
Developer Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)
Here's the client info:
Client Information
Vault Client Version: 4.1.3.18336
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 3.5 GB
Time Zone: (GMT-08:00) Pacific Time (US & Canada)
Server Information
Vault Server Version: 4.1.3.18336
.Net Framework Version: 2.0.50727.832
Operating System: Microsoft(R) Windows(R) Server 2003 Enterprise x64 Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT-08:00) Pacific Time (US & Canada)
SQL Version: Microsoft SQL Server 2005 - 9.00.2047.00 (X64)
Apr 14 2006 01:11:53
Copyright (c) 1988-2005 Microsoft Corporation
Developer Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)
Re: Why is folder diff so slow?
Are you comparing your working directory folder with the current repository version or a historical repository version?
Are you just diffing against a folder name or are you using it against a label?
Are you just diffing against a folder name or are you using it against a label?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Why is folder diff so slow?
Comparing against current repository version, and comparing a folder not a label.
Re: Why is folder diff so slow?
Could I have you increase the logging level in your Vault Server Log and start up Client Side Logging? Please note that after increasing the server logging, you will need to perform an iisreset on the server by going to Start - Run and typing iisreset.
Then try the diffing action again, and send me the logs. You can either post them here and remove them after the issue is finished, or you can email them to support at sourcegear.com (attn: Beth) with a link to this forum thread.
Then try the diffing action again, and send me the logs. You can either post them here and remove them after the issue is finished, or you can email them to support at sourcegear.com (attn: Beth) with a link to this forum thread.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support