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

[TSVN] Performance issue caused by unversioned files/folders in WC

From: Michael Dietschi <groups_at_dietschi.net>
Date: 2004-12-15 14:45:03 CET

Problem:
=======

If a working copy has a lot of unversioned files/folders the
performance of "Check for Modifications" and "Commit..." dialogs
gets _really_ bad. That means the time that eplapses between the
user action (clicking context menu item) and effect (responding
dialog) takes very long.

SVN (1.1.1) command line client seems not to be affected _that_
much.

Reproduction Recipe:
===================

1. Checkout a WC of http://svn.collab.net/repos/tortoisesvn/trunk

2. Get reference values for WC
      svn st -v ...takes ~2 seconds
      TSVN -> Check-for-Modifications ...takes ~1 second

3. Create a directory with a lot of files inside WC
      cd _WC_
      md unversioned
      cd unversioned
      for /l %i in (1,1,30000) do ( echo %i > file%i.txt )

4. Redo #2
      svn st -v ...takes ~2.5 seconds
      TSVN -> Check-for-Modifications ...takes ~50 seconds

I used the latest nightly build (r2122) on XP-SP1. Also tried the
official TSVN 1.1.1 -> not a big difference.

Comment:
=======

Had a quick look with FILEMON:
It seems that TSVN is querying some information on files/folders
even if they reside in unversioned folders. The command line client
seems to stop recursing on unversioned folders.

This really hurts in our CE-Platform-Builder projects where about
50'000 files in about 3'000 folders are NOT under revision control.

Suggestion:
==========

Do NOT recurse in unversioned folders.

Best Regards
Michael

PS: I really like to work with (T)SVN. It is really a great system
(especially if you're coming from VSS, like me)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Dec 15 14:55:44 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.