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

Re: Optimizing SVN switch

From: <kfogel_at_collab.net>
Date: 2004-04-09 15:48:57 CEST

Bill Soudan <bill@soudan.net> writes:
> 1) Can wcprops be eliminated entirely? Why aren't they just stuffed into
> the entries file? My guess is that the file is seperate for a good
> reason, but if so, what is it?
>
> 2) Can switch just skip the step that sets all wcprops to END? The second
> 'set wcprop' step just overwrites the old version anyway. That change
> would shave off 135s, about 50% of the time.
>
> 3) Can some of the wcprops operations be eliminated? There's lots of
> redundant calls during each iteration (format is read over and over again,
> lots of lstat64s on the same file, etc.)

Only ra_dav uses the wcprops. An interesting experiment, if you have
the setup to do it, would be to try the same operations over
svnserve/ra_svn and see how the timings compare. That could tell us a
lot.

Thanks for doing this investigation...

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 9 17:02:42 2004

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.