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

Re: [TSVN] Slow right click in windows...

From: Chris Withers <chris_at_simplistix.co.uk>
Date: 2005-05-19 12:08:54 CEST

Simon Large wrote:
>>How do I go about finding out what's going on here?
>
> Try using filemon from www.sysinternals.com to see if there is a
> significant difference in file activity between the 3 installations. Let
> us know what you find.

Cool tool :-)

Only posting snippets here, since some of the data would be sensitive.

The irony is that the file activity is the same on both boxes in terms
of what gets looked at:

1. As I right click, I see what looks like a load of code page checks
from tortoise along the lines of:

637 10:56:40 explorer.exe:3628 FASTIO_QUERY_OPEN C:\Program
Files\TortoiseSVN\iconv\cp1252.so NOT FOUND Attributes: Error
638 10:56:40 explorer.exe:3628 IRP_MJ_CREATE C:\Program
Files\TortoiseSVN\iconv\windows-1252.so SUCCESS Options: Open Access: All
639 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_VOLUME_INFORMATION
C:\Program Files\TortoiseSVN\iconv\windows-1252.so BUFFER OVERFLOW
FileFsVolumeInformation
640 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_INFORMATION C:\Program
Files\TortoiseSVN\iconv\windows-1252.so BUFFER OVERFLOW FileAllInformation
641 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP C:\Program
Files\TortoiseSVN\iconv\windows-1252.so SUCCESS
642 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE C:\Program
Files\TortoiseSVN\iconv\windows-1252.so SUCCESS

Why on earth are all these checks done on every right click?!
(that said, these aren't the slow bits, so I dont' really care ;-)

I then see these (I right clicked on C:\Zope\RAEmailer, which is the
root directory of a checkout):

1015 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\format SUCCESS Options: Open Access: All
1016 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\format SUCCESS Options: Open Access: All
1017 10:56:40 explorer.exe:3628 FASTIO_QUERY_BASIC_INFO
C:\Zope\RAEmailer\.svn\format SUCCESS Attributes: RA
1018 10:56:40 explorer.exe:3628 IRP_MJ_SET_INFORMATION
C:\Zope\RAEmailer\.svn\format SUCCESS FileBasicInformation
1019 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_VOLUME_INFORMATION
C:\Zope\RAEmailer\.svn\format BUFFER OVERFLOW FileFsVolumeInformation
1020 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_INFORMATION
C:\Zope\RAEmailer\.svn\format SUCCESS FileInternalInformation
1021 10:56:40 explorer.exe:3628 FASTIO_QUERY_STANDARD_INFO
C:\Zope\RAEmailer\.svn\format SUCCESS Length: 2
1022 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\format SUCCESS
1023 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE
C:\Zope\RAEmailer\.svn\format SUCCESS
1024 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\format SUCCESS Options: Open Access: All
1025 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_INFORMATION
C:\Zope\RAEmailer\.svn\format SUCCESS FileBasicInformation
1026 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\format SUCCESS
1027 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE
C:\Zope\RAEmailer\.svn\format SUCCESS
1028 10:56:40 explorer.exe:3628 IRP_MJ_READ
C:\Zope\RAEmailer\.svn\format SUCCESS Offset: 0 Length: 80
1029 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\format SUCCESS
1030 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\format SUCCESS Options: Open Access: All
1031 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\format SUCCESS Options: Open Access: All
1032 10:56:40 explorer.exe:3628 FASTIO_QUERY_BASIC_INFO
C:\Zope\RAEmailer\.svn\format SUCCESS Attributes: RA
1033 10:56:40 explorer.exe:3628 IRP_MJ_SET_INFORMATION
C:\Zope\RAEmailer\.svn\format SUCCESS FileBasicInformation
1034 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_VOLUME_INFORMATION
C:\Zope\RAEmailer\.svn\format BUFFER OVERFLOW FileFsVolumeInformation
1035 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_INFORMATION
C:\Zope\RAEmailer\.svn\format SUCCESS FileInternalInformation
1036 10:56:40 explorer.exe:3628 FASTIO_QUERY_STANDARD_INFO
C:\Zope\RAEmailer\.svn\format SUCCESS Length: 2
1037 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\format SUCCESS
1038 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE
C:\Zope\RAEmailer\.svn\format SUCCESS
1039 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\format SUCCESS Options: Open Access: All
1040 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_INFORMATION
C:\Zope\RAEmailer\.svn\format SUCCESS FileBasicInformation
1041 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\format SUCCESS
1042 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE
C:\Zope\RAEmailer\.svn\format SUCCESS
1043 10:56:40 explorer.exe:3628 IRP_MJ_READ
C:\Zope\RAEmailer\.svn\format SUCCESS Offset: 0 Length: 80
1044 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\format SUCCESS
1045 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE
C:\Zope\RAEmailer\.svn\format SUCCESS
1046 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\entries SUCCESS Options: Open Access: All
1047 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\entries SUCCESS Options: Open Access: All
1048 10:56:40 explorer.exe:3628 FASTIO_QUERY_BASIC_INFO
C:\Zope\RAEmailer\.svn\entries SUCCESS Attributes: RA
1049 10:56:40 explorer.exe:3628 IRP_MJ_SET_INFORMATION
C:\Zope\RAEmailer\.svn\entries SUCCESS FileBasicInformation
1050 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_VOLUME_INFORMATION
C:\Zope\RAEmailer\.svn\entries BUFFER OVERFLOW FileFsVolumeInformation
1051 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_INFORMATION
C:\Zope\RAEmailer\.svn\entries SUCCESS FileInternalInformation
1052 10:56:40 explorer.exe:3628 FASTIO_QUERY_STANDARD_INFO
C:\Zope\RAEmailer\.svn\entries SUCCESS Length: 465
1053 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\entries SUCCESS
1054 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE
C:\Zope\RAEmailer\.svn\entries SUCCESS
1055 10:56:40 explorer.exe:3628 IRP_MJ_CREATE
C:\Zope\RAEmailer\.svn\entries SUCCESS Options: Open Access: All
1056 10:56:40 explorer.exe:3628 IRP_MJ_QUERY_INFORMATION
C:\Zope\RAEmailer\.svn\entries SUCCESS FileBasicInformation
1057 10:56:40 explorer.exe:3628 IRP_MJ_CLEANUP
C:\Zope\RAEmailer\.svn\entries SUCCESS
1058 10:56:40 explorer.exe:3628 IRP_MJ_CLOSE
C:\Zope\RAEmailer\.svn\entries SUCCESS
1059 10:56:40 explorer.exe:3628 IRP_MJ_READ
C:\Zope\RAEmailer\.svn\entries SUCCESS Offset: 0 Length: 512

Now, this goes through all the entries and format files (along with
other stuff you find in .svn) recursively for the whole checkout :-(
Waaagh :-( Why is this happening?

The confusing thing is that the same number of files seem to get checked
on the laptop and the desktops is the same, just doing so takes a
helluva lot more time on the desktop, even though the desktop is a
higher spec machine. Any ideas as to why that is?

In any case, probably a better question to ask is how to stop tortoise
recursing through all these files just 'cos I right-clicked?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 19 12:09:14 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.