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

Re: Performance issues in project folder with many files

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 16 Apr 2008 21:40:04 +0100

On 16/04/2008, Fisher, John <jfisher_at_adrforum.com> wrote:
>
> I've got a folder full of SQL query files. This is a project folder, where
> only Subversion files are stored. Currently, there are 1345 files, with a
> total size of 13 MB.
>
> Every time I save a change to a file in that folder, TortoiseSVN uses 50% of
> the CPU for about 13 seconds on my single-CPU, hyper-threaded, 3.2GHz
> machine. During this time, Windows Explorer is mostly unusable.
>
> Making changes to a new file in the folder will not cause this problem until
> after the file has been connected to subversion. Hopefully, there is a way
> to limit this processing to only the file that changed. That ought to speed
> things up dramatically.
>

Try TSVN->cleanup. If the file date changes but the file size does
not, Subversion does a byte-by-byte check to see if the file is really
changed. After cleanup the revised file date is stored in Subversion's
metadata, so it should not have to check that file again.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-16 22:40:20 CEST

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