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

Re: Complexity of svn update?

From: Alejandro Forero Cuervo <azul_at_freaks-unidos.net>
Date: 2007-10-30 19:28:16 CET

> I believe the time varies proportionally to the number of directories in
> the working copy, or in the subset of the working copy you've indicated on
> the command line. Subversion has to process the information in the .svn
> directory in each directory of your working copy. The first time you run
> svn up it can take awhile because it has to read the information from disk.
> Subsequent operations can be quicker because the data could already be in
> memory in your disk cache.

Ahh, linear on the number of subdirectories in the working copy
because it has to process the .svn subdirectory of each.

Does the amount of time it takes to process each .svn subdirectory
depend on the number of files in its corresponding directory? If so,
I suppose it will turn out to be linear on the number of files instead
of on the number of directories (so placing all files in the root
wouldn't really help things).

Hmm.

Alejo.
http://azul.freaks-unidos.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 30 19:28:40 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.