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