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

[TSVN] Re: Show Log takes long time

From: Ronny Voelker <Ronny.voelker_at_elaxy.com>
Date: 2005-05-17 12:44:01 CEST

Hello,

Nathan Kidd <nathan-svn <at> spicycrypto.ca> writes:

> I've found that on a 100MB LAN the server CPU really is the bottleneck
> so getting as fast as you can will help.

I've found, that even the client gets slowed down by revisions with a large
number of
changed paths (in my case >20000). Selecting such a revision in the
log dialog (by mouse click or by moving up and down with the arrow keys)
can take several seconds.
So browsing the history of a single file can be really time consuming.

> Subversion/TortoiseSVN 1.2 will have better limiting of how many logs
> are initially shown. Once the number of revisions in your repository
> goes over this limit (which you can configure, but defaults to 100,
> IIRC) then for typical log operations you'll no longer have to wait for
> the log -v on the first import revision, which should speed things up also.
 
This workaround applies only, if the initial import is the only revision,
which has a large number of changed paths. I don't think this is the case.

Some examples for changes which are affecting almost all source files:
- a change in the legal notice
  ( 'Again the name of our company has changed.')
- changed usage of keywords
  ('Now we need also $HeadURL$ besides $Id$ to identify the Branch of a file')
- changing properties (eg. svn:eol-stype )
  ('W are now also using Linux clients besides the Windows clients.')

If there are a couple of this revisions distributed over the whole history,
it is difficult to view the log of a file without having at least
one of the 'large' revisions in the log dialog.

So, to solve this issue, how about an additional option in the settings dialog:
'Default number of changed paths'.
According to this option, only the first n changed paths per revision
are displayed by default in the log dialog.

Most revision would not be affected, because 'regular' changes are
mostly changing only a couple of files.

For revisions which have more changed paths than defined in the option,
it should be visible for the user, that this revisions have additional
changed paths, which are not displayed right now and there should be
an option to display the additional paths for a single revision
or for all displayed revisions.

Ronny Voelker

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue May 17 13:27:41 2005

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.