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

"svn commit" performance

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2003-06-21 06:02:04 CEST


recently I noticed the svn commit performs poorly before
bringing up the editor.

if i do a "svn co file:///repo/trunk svn.co", edit a file
in a deep directory, "svn diff" gives me the result immediately,
while it takes 3 or 4 seconds for "svn commit" to bring up the
editor. this is still acceptable.

but if i do "svn co file:///repo svn.co.full", edit the same file
in under trunk/'s deep direcotry. "svn diff trunk" still gives me
the result immediately. but now "svn commit trunk" takes about 7
seconds to fire the editor. manually applying 6301:6302,6312:6313
for 0.24.2 takes 10 seconds even.

I think maybe it's because the the commit code needs to traverse
to parent directory to find the root of wc, but other operation
should be the same as "svn diff".

it seems the number of tags made the difference, since i didn't
notice this lag when i had no tags. but i think "svn commit trunk"
should be irrevelent to tags/ ?

there are ~2000 files and around 10MB in trunk, ~50 tags, 5 branches.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 21 06:02:47 2003

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.