[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: <michael_rytting_at_agilent.com>
Date: Thu, 1 Sep 2011 11:18:24 -0600

The svn ls portion is a trivial amount of the overall time to run.

-> time svn ls --depth infinity > f

real 0m0.676s
user 0m0.054s
sys 0m0.011s

-> time xargs svn info < f

real 0m47.679s
user 0m1.163s
sys 0m2.752s

-> time svn info --depth infinity > /dev/null

real 5m56.693s
user 0m14.142s
sys 0m10.885s

-----Original Message-----
From: Philip Martin [mailto:philip.martin_at_wandisco.com]
Sent: Thursday, September 01, 2011 10:50 AM
To: Daniel Shahaf
Cc: Bert Huijben; RYTTING,MICHAEL (A-ColSprings,ex1); dev_at_subversion.apache.org
Subject: Re: Really lousy performance with svn info --depth infinity

Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:

> So presumably the second one should really be:
>
> % svn ls -R >f
> % time xargs svn info <f

It depends what one wants to measure. If the ls time is significant it would mean that the recursive call has an even bigger problem.

--
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-09-01 19:18:55 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.