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

Re: Speeding up blame

From: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-04-26 00:57:09 CEST

On Sat, Apr 24, 2004 at 05:03:48PM -0400, Greg Hudson wrote:
> On Sat, 2004-04-24 at 17:06, Peter N. Lundblad wrote:
> > Please note that I am relatively new to the svn codebase, so my
> > terminology above may look a bit strange. However, I'd like to know if I
> > am on the right track and if this is a good way to improve the speed of
> > the blame command. I think this task shouldn't be too hard for a beginner
> > like me:-)
>
> This plan looks sane to me. You may find that performance doesn't
> improve by as much as you'd hoped for, because blame will still be
> incurring a round-trip delay for each revision. Breaking that barrier
> would require a specialized RA function to retrieve all the revs of a
> file within a certain revision range.
>

To me, too; I was planning on eventually doing the same thing.

I also think it would be neat to use the base revision as a reference
so as to avoid pulling down the entire file. It might be possible to
convince svn_diff to accept streams that are lazily computed based on
deltas applied against the text base revision.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 26 00:58:38 2004

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.