2011/7/5 Stefan Küng <tortoisesvn_at_gmail.com>:
> On 05.07.2011 04:56, Konstantin Kolinko wrote:
>> 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
>> (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
>> 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:
> 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
Now I reopen the Commit dialog. The logs for this are the following:
00000000 0.00000000  #1 Thread:2788 SVN::CheckConfigFile(line
00000001 0.00466149  #1 Thread:2788 done (4810 ╡s)
00000002 0.05427422  #2 Thread:2788
SVNReadProperties::Refresh(line 127) svn_client_proplist3
00000003 0.05765118  #2 Thread:2788 done (3391 ╡s)
00000004 0.15033446  CSciEdit::LoadDictionaries: ISO8859-1
00000005 0.21763995  CPathWatcher::AddPath: add path to watch
00000006 0.27652985  #3 Thread:1724 SVN::GetUUIDFromPath(line
1903) get_uuid_from_target Path=C:/workspace/test/wc
00000007 0.27917320  #3 Thread:1724 done (2660 ╡s)
00000008 0.28790894  #4 Thread:1724
SVNStatus::GetFirstFileStatus(line 305) svn_client_status5
00000009 0.29862174  #4 Thread:1724 done (11432 ╡s)
00000010 0.41689292  CPathWatcher::WorkerThread: watching path
00000011 8.72216415  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.
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-05 20:43:10 CEST