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

Re: "svn diff" performance

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-07-24 18:18:32 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> I think I have a better explanation of the problem now: it's that
> stupid <resource-walk> tree being appended to the normal update
> response. Generating that <resource-walk> tree means returning the
> vsn-rsc-url for *every* item in the tree! *That's* probably why the
> server is taking anywhere from 20 seconds to a minute to chug.
>
> The underlying problem: 'svn diff -rX:Y' and 'svn merge -rX:Y' are
> calling RA->do_switch() under the hood, which is a variant of
> RA->do_update(). Because it's a switch, the <resource-walk> is being
> sent. The design problem here is that only 'svn switch' actually
> wants the resource walk. 'svn diff' and 'svn merge' don't care one
> whit.
>
> We need a way to prevent that resource walk from happening for two of
> the three callers to RA->do_switch().

Sounds like a third variant is needed then. do_update(), do_switch()
and do_diff(). What are the other differences (apart from the
resource walk) between do_update() and do_switch() that cause diff and
merge to not be able to use do_update()?

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 24 18:25:06 2002

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.