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

Re: "svn status" performance

From: Eric Gorr <mailist_at_ericgorr.net>
Date: 2005-04-26 15:02:32 CEST

Ludvig Strigeus wrote:
> If I run "svn status" in a repo with 3200 files, SVN does 310000 file
> operations such as open/read/close/stat.
>
> It looks like it's comparing the contents of EACH file with the base/
> file. That's overkill. It reads hundreds of megabytes from the disk for
> no real reason.

A performance improvement that may be in there (is it?) for 1.2 would
also seem to be checked to see if a file (hopefully I get this right)
needs to be locked before being modified. If this is the case and it
was not locked, there would not seem to be a need for svn status to
check further.

The way I would intend to use 1.2 would be to set the needs-lock flag
for every file.

-- 
== Eric Gorr ========= http://www.ericgorr.net ========= ICQ:9293199 ==
"Therefore the considerations of the intelligent always include both
benefit and harm." - Sun Tzu
== Insults, like violence, are the last refuge of the incompetent... ===
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 26 15:10:43 2005

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.