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

Re: svn_client_proplist slow to get all of one dir

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-10-26 01:15:47 CEST

Barry Scott wrote:
> I'd like to see a version of svn_client_proplist that can return all the
> properties of
> all the files in a single directory.

Well, I'm in two minds about whether we should support all three of "depth=0",
"depth=1" and "depth=infinity" recursion behaviours, at the command-line
interface and at API level. One part of me says that "depth=1" is one
particular case that can be built up from "depth=0" and shouldn't be specially
supported. But the other side of me acknowledges that it is a commonly desired
result.

> At the moment the two choices have problems:
>
> 1. get all recursive - returns for all sub directories, not what I want
> 2. get one files props - far too slow, takes 1.773s for 54 files vs.
> recusive returning 54 in 60ms

In a WC I'm not seeing it this slow: for me, "svn pl * */*" takes 0.22s real
time for 40 files. (I assume that is calling svn_client_proplist 40 times.)
On the other hand, for a "file://" URL, it is taking more than 1s per file for
me! This is on Linux on a 500 MHz Pentium III. What is your system and test?

May I suggest that, to begin with, we investigate why some things are slow,
before we consider adding a new API function.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 26 01:16:00 2004

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.