[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TortoiseSVN nightly build 21657 noticeable delays in Commit and Add dialogs

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Tue, 5 Jul 2011 22:43:03 +0400

2011/7/5 Stefan Küng <tortoisesvn_at_gmail.com>:
> On 05.07.2011 04:56, Konstantin Kolinko wrote:
>> Hi!
>>
>> Using TortoiseSVN 1.6.99, Build 21657 - 32 Bit -dev, 2011/07/04 21:49:01
>> on WinXP SP3 32-bit
>>
>> When there are lot of modified files in my wc, when I open Commit
>> dialog there is noticeable delay and dialog becomes unresponsive
>> before the list of files is displayed.
>>
>> The delay becomes noticeable (more than 5 seconds) when there are more
>> than 40 items to display. The total count of files in the wc does not
>> matter.
>> (The scan in large wc does take some time, but dialog does not become
>> irresponsive: the scan can be canceled).  Only the count of items that
>> are to be displayed does matter.
>>
>> The same occurs with Add dialog when it prepares the list of items to
>> add. See the recipe below.
>>
>> To reproduce:
>> 1. Create an empty wc.
>> 2. Create an empty folder and fill it with files. e.g. make a copy of
>> TortoiseSVN/bin.
>> 3. Go to the wc and open Commit dialog. It is opened quickly and
>> displays the folder in it that you created.
>>
>> 4. Right-click on the folder and choose "Add..."
>> 5. The Add dialog is displayed.
>> 6. ->There is noticeable delay before the list of files is filled.
>> 7. Click OK so that the files are added to the wc.
>>
>> 8. Click Cancel to close the Commit dialog.
>>
>> 9. Open the Commit dialog again.
>> 10. ->  Now there is noticeable delay before the list of files is filled.
>>
>>
>> The dialogs are unresponsive when this delay occurs:  if you switch
>> away from them, they are not redrawn. The "Cancel" button does not
>> respond to clicks.
>>
>> If I use svn 1.7 command line client and do "svn status" command in the same wc,
>> the result is available almost immediately.
>
> Try running an 'svn status -v' instead of just 'svn status'.
>
> I can not reproduce this here. The commit dialog comes up pretty fast
> even for a very big working copy with 287 added files.
>
> If 'svn status -v' is equally fast for you but the commit dialog isn't,
> create the registry key HKCU\Software\TortoiseSVN\DebugOutputString
> (DWORD) and set it to 1.
> Then get the debug viewer from here:
> http://technet.microsoft.com/en-us/sysinternals/bb896647
> start it and open the commit dialog. You should see debug messages from
> TortoiseProc with timing info. Maybe there's something in there we can
> use to find out what's the problem here.
>

svn status -v is fast.

If I create an empty wc, put three copies of TSVN "bin" there (3
folders + 120 files), add them, close all dialogs, clear logs in
debug viewer.

Now I reopen the Commit dialog. The logs for this are the following:

00000000 0.00000000 [3604] #1 Thread:2788 SVN::CheckConfigFile(line
179) <whole_block>
00000001 0.00466149 [3604] #1 Thread:2788 done (4810 ╡s)
00000002 0.05427422 [3604] #2 Thread:2788
SVNReadProperties::Refresh(line 127) svn_client_proplist3
Path=C:/workspace/test/wc
00000003 0.05765118 [3604] #2 Thread:2788 done (3391 ╡s)
00000004 0.15033446 [3604] CSciEdit::LoadDictionaries: ISO8859-1
00000005 0.21763995 [3604] CPathWatcher::AddPath: add path to watch
C:\workspace\test\wc
00000006 0.27652985 [3604] #3 Thread:1724 SVN::GetUUIDFromPath(line
1903) get_uuid_from_target Path=C:/workspace/test/wc
00000007 0.27917320 [3604] #3 Thread:1724 done (2660 ╡s)
00000008 0.28790894 [3604] #4 Thread:1724
SVNStatus::GetFirstFileStatus(line 305) svn_client_status5
Path=C:/workspace/test/wc
00000009 0.29862174 [3604] #4 Thread:1724 done (11432 ╡s)
00000010 0.41689292 [3604] CPathWatcher::WorkerThread: watching path
C:\workspace\test\wc
00000011 8.72216415 [3604] CCommitDlg::GetAutocompletionList: Auto
completion list loaded in 15 msec

Messages 01-10 come fast. The delay I am observing occurs between
messages 10 and 11.

Best regards,
Konstantin Kolinko

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2785035

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-05 20:43:10 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.