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

Re: Really lousy performance with svn info --depth infinity

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 1 Sep 2011 19:43:44 +0300

So presumably the second one should really be:

% svn ls -R >f
% time xargs svn info <f

Philip Martin wrote on Thu, Sep 01, 2011 at 17:31:19 +0100:
> Bert Huijben <bert_at_qqmail.nl> writes:
>
> > No, svn ls doesn't. It just obtains the URL and revision and then
> > queries the repository.
>
> The output of "svn ls" is fed to "svn info"
>
> This is one recursive call:
>
> >> svn info -depth infinity
>
> This is multiple non-recursive calls:
>
> >> svn ls -depth infinity | xargs svn info
>
> xargs will batch up the arguments, so we get a number of
>
> svn info path1 path2 .... pathN
> svn info pathN+1 path2 .... pathM
> svn info pathM+1 path2 .... pathR
>
> calls, and they are somehow faster than the single recursive call.
>
> --
> Philip
Received on 2011-09-01 18:44:29 CEST

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.