On 27.02.2011 19:54, Stefan Küng wrote:
> On 27.02.2011 19:34, Gunnar Dalsnes wrote:
>
>> Strangely, 'svn st -v' is very fast (max 2 sec). I tried all svn
>> commands I could think of to reproduce, but all was fast. Did not give
>> up and found that 'svn propget svn:dummyprop -R' takes approx 68sec on
>> svn 1.7 while only 2 sec on svn 1.6. Can you try it too? May be hard to
>> report on bug on this if only slow on my WC thou.
> Seems there's a problem with your wc.db. I've tested on my TSVN working
> copy, and 'svn propget svn:dummyprop -R' takes around 1.5 seconds.
> Is that command slow for all your working copies or just the one?
>
> Stefan
>
I have several WC's from different branches of my trunk. They are all
similary slow. I think I know why now. My WC's have over 1800 dirs,
while tsvn and svn WC's have approx 260/227 dirs. I used counted
breakpoints and found walker_helper is called as many times as dirs in
WC. The recursive implementation of
svn_wc__internal_walk_children/walker_helper does not seem to scale
linear. When I show log on sub folders in my WC (narrow down), it get
faster and faster.
Strangely, svn_wc__internal_walk_children (via svn_wc_revision_status2
in this case) is only used some places, and 'svn st -v', that also
traverse all nodes, is very fast.
I have reported this to users_at_subversion.apache.org.
Gunnar.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2708050
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-27 21:39:05 CET