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

Re: Status of new working copy format

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2006-09-07 00:49:18 CEST

On Sep 4, 2006, at 02:38, Daniel Berlin wrote:

>>
>> 1.4 is 3 times faster then 1.3.2
>>
>> python code is 70 times faster the 1.3.2
>> and still 21 times faster then 1.4.0
>>
>> I would guess that you cannot close the gap until you have an API
>> that
>> allows one call into svn client lib to get all the proplist for 1
>> directory.
>
> Sure.
> Though i'd still love to seen a ktrace of your code.

I tested svn speed by using the svn command line
thus:

$ svn co URL dir
$ time svn proplist dir/*.xxx >/dev/null

I used a URL into one of my repos that has 157 files with props for
the test.
To minimize the effect of caching I checkout before running the
proplist test.
Repeating the svn proplist will see a speed up because of caching. In
a GUI
the problem is often the time taken the first time you hit a directory.

My python code is can be run from the attached file.

It can be run like this:

$ python prop_speed_test.py fast dir/*.xxx

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Sep 7 03:20:40 2006

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

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