[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 09:53:10 -0600

Very well, we'll move it to users. I just figured it was a bug in 1.7 since the performance of the svn info -depth infinity was SIGNIFICANTLY faster in 1.6.x. Currently it takes 1 minute with 1.7 and less than a second with 1.6.x.

-Mike

From: Bert Huijben [mailto:bert_at_qqmail.nl]
Sent: Thursday, September 01, 2011 9:43 AM
To: RYTTING,MICHAEL (A-ColSprings,ex1); dev_at_subversion.apache.org
Subject: RE: Really lousy performance with svn info --depth infinity

These operations do very different things. The first reads your working copy to obtain a lot of details (unless you pass a revision; in that case it looks at the repository)
The second asks the repository what files there are below the current directory in the repository (using the revision of the current directory).

In my usage (repository hosted via http:// on the other side of the world) the second is much slower... But if you have a local repository the opposite might be true.

I think this question belongs on users{_AT_}subversion.apache.org though, as it is about using Subversion and not on Subversion development.

                Bert

From: michael_rytting_at_agilent.com [mailto:michael_rytting_at_agilent.com]
Sent: donderdag 1 september 2011 17:26
To: dev_at_subversion.apache.org
Subject: Really lousy performance with svn info --depth infinity

Hi guys,

Quick question. I would expect the following 2 commands to perform equivalent functions.

svn info -depth infinity
svn ls -depth infinity | xargs svn info

This issue is that the first command takes 1 minute to run while the second command takes 6 seconds to run. I am running 1.7.0-rc2.

-Mike
Received on 2011-09-01 17:53:46 CEST

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

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