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

Re: ideas to make svn update faster.

From: Thomas Zander <zander_at_kde.org>
Date: 2005-05-09 11:37:45 CEST

On Sunday 08 May 2005 18:07, Greg Hudson wrote:
> If you update a tree, and then visit one of its subdirs in TortoiseSVN,
> tsvn will do a non-recursive status operation on the subdir.  Currently,
> this involves reading only one entries file; under your scheme, it might
> have to read several.  Thus, several times slower.  (At least, in
> theory.  There might be more important sources of slowness in the
> non-recursive status operation.)

I'm sure there are other things making it slow; I just wrote a class that
reads all the entries xml files and fetches the version fields from them.
This I ran in KOffice (which has 483 dirs under version control).
Result; 7.1 milliseconds per parsed XML.

Oh; this was done in jit-compiled Java; I hope you will agree that this test
will not read xmls significantly faster then your c-library.

-- 
Thomas Zander

  • application/pgp-signature attachment: stored
Received on Mon May 9 11:42:16 2005

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.