[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-dev
Subject:    Re: svn log --limit not performing
From:       Kevin Puetz <puetzk () puetzk ! org>
Date:       2005-04-30 2:28:58
Message-ID: d4uq6d$68e$1 () sea ! gmane ! org
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic