[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 18:44:47 CEST

On Mon, 22 Oct 2007, Matthias Junker wrote:

> Hello,
>
> i'm working on a client for subversion, which builds a model of a
> repository in smalltalk. for now i'm just accessing the client api. but
> the problem is, that i need to call read only commands like ls,diff,etc
> very often in a row. of course i use the same ctx and pool for all these
> operations, but they are still very slow (like 1-2s per operation). now
> my question: would i have to use the repository access layer directly to
> speed up consecutive operations (by using the same session over and over
> again?), or is there a way to do this using the client api? Or did i get
> it all wrong? i would be really glad for any kind of hint, because i
> just started developing with subversion and it's hard for me to estimate
> the effort for this.

Matt, you might want to look at svnmucc, which is an alternate command-line
client which runs multiple commands at a time:
http://svn.collab.net/repos/svn/trunk/contrib/client-side/svnmucc/

While using the RA APIs yourself will save some overhead, I'm uncertain that
it'll give you a noticable speed-up in terms of wall-clock time.

-- 
Daniel Rall

  • application/pgp-signature attachment: stored
Received on Mon Oct 22 18:45:08 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.