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

Re: Speed up consecutive operations

From: Daniel L. Rall <dlr_at_collab.net>
Date: 2007-10-22 19:50:59 CEST

On Mon, 22 Oct 2007, Matthias Junker wrote:
...
> that's what i'm wondering: how much could i speed things up by using the
> RA layer instead the
> client layer. i thought the authentication uses a lot of time... but
> then again, i'm not yet very familiar

Using the RA layer isn't going to avoid the need for auth. For that, you'd
need to use the svn_repos.h (with NULL authz callbacks) or svn_fs.h APIs,
which for building a typical client, you wouldn't want to do.o

Using the RA layer simply allows you run several commands over the same
RA session, the savings of which are going to differ depending on the RA
layer you're using, and how each RA layer interacts with the network (e.g.
HTTP/S has a lot of overhead, SVN's custom protocol is a bit faster, local
access will offer practically no savings). Basically, we're I/O bound, with
most CPU time spent calculating checksums, tracing history, etc.

  • application/pgp-signature attachment: stored
Received on Mon Oct 22 19:51:14 2007

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.