[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: Fisher, John <jfisher_at_adrforum.com>
Date: Wed, 16 Apr 2008 16:18:07 -0500

Thanks for the suggestion. The cleanup may have saved a second or two,
but it still takes over 10 seconds to "wake up" from a saved change to
one of the tracked files. To be safe, I even removed the local folder
completely, and did a fresh update (using the parent folder) from
subversion. That didn't help noticeably, either.

John

-----Original Message-----
From: Simon Large [mailto:simon.tortoisesvn_at_googlemail.com]
Sent: Wednesday, April 16, 2008 3:40 PM
To: users_at_tortoisesvn.tigris.org; Fisher, John
Subject: Re: Performance issues in project folder with many files

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-17 07:12:48 CEST

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