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

Re: svn log --limit not performing

From: Kevin Puetz <puetzk_at_puetzk.org>
Date: 2005-04-30 04:28:58 CEST

John Belmonte wrote:

> Using svn 1.2rc2 with direct file access to a repo, "svn log --limit"
> does not exhibit the performance characteristic I expected. The only
> time it works quickly is when I give it the repository root. For
> example, "svn log --limit 2 file:///myrepo/root" takes 1s, compared to
> target file:///myrepo/root/foo which takes 35s (the repo is about 5000
> revs on a slow NFS). Does that make any sense? Using a working copy
> target is equally slow.
>
> -John

One obvious suspect is that it's having to scan a lot more revisions to find
2 of them that affect /foo. On the root, --limit 2 is the first two
revisions no matter what; deeper in, it could have to go back a long way.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 30 04:30:52 2005

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