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

Re: faster client pre-1.0: decrease number of files&folders in .svn

From: solo turn <soloturn99_at_yahoo.com>
Date: 2003-02-07 17:12:56 CET

some profiling data for 512 directories test case, run time on stripe
drive, duration 42sec:

time (sec):
16.8 _rename
 8.5 __open
 5.69 chmod
  .99 _poll
  .41 _fdsync

rename comes from:
        svn_wc__close_adm_file
        svn_wc__entries_write
        recurslivly_tweak_entries

open comes from:
        open_adm_file
        svn_wc__open_adm_file
        svn_wc__entries_write
        recurslivly_tweak_entries

chmod comes from:
        apr_file_perms_set
        apr_file_attrs_set
  60% apr_io_set_file_read_only
  40% apr_io_set_file_read_write
        close_adm_file
        svn_wc__close_adm_file
        svn_wc__entries_write
        recurslivly_tweak_entries

--- Philip Martin <philip@codematters.co.uk> wrote:
> > Subversion doesn't lock files, it locks directories. Subversion
> > doesn't have an entries file for each file, it has one per
> > directory.
> > So a difference between files and directories is inevitable
> unless
> > someone implements a system that stores working copy metadata in
> a
> > single blob or database. Don't assume that such a system would
> be
> > faster overall :)
> >
> > --
> > Philip Martin

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 7 17:13:39 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.