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

Re: 1.5.0-RC3: Repo-browser very slow

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 12 Jun 2008 18:51:11 +0200

Bernhard Merkle wrote:
>
>>> I have the delay not in starting up the repo browser but when
>>> expanding *each* node the *first* time.
>>> Expanding a node a second time is much faster (some caching) but the
>>> first time it is significant slow.
>> Sure, that's because the first time, we have to so an 'svn ls'. The
>> second time we don't do that unless you hit F5 to refresh.
>
> I am a bit confused why a "svn ls" takes so much longer in TTSVN 1.5
> compared to TTSVN 1.4.
> Could there be something else ?

Well, the subversion library has changed a *lot* between 1.4 and 1.5 :)

>> version). That means as long as your repository is hosted on an 1.4
>> version of Subversion, it will be slower (but much faster once you
>> upgrade your server).
>
> should I upgrade the server or should I also upgrade the repository ?
> I think there is a different in updating the server and/or repository.
>
> do you mean if i do a "svnadmin upgrade" on the server, this will go
> away ?

No, I meant upgrading the server. Sorry for not being clear on that.

>>> While i really appreciate the new functionality in the repo browser in
>>> 1.5, with the current performace it is nearly unusable for us.
>>> (compared to 1.4.8).
>> It's slow, I know. But there's nothing we can do about that.
>
> The problem i see is the following:
> - upgrading the server to 1.5 takes some time but is controlled by me
> (maybe we wait for 1.5.1)
> - upgrading the clients to 1.5 will happen very fast, because often
> the users get the autonotification of the new TTSVN version and
> download the installer. Peng. You have exactly my setting. And
> browsing now is really a problem.
>
> I think this *will* be a common scenario for lots of installation, so
> i we can do something to improve the performance I am happy to
> contribute.

You'd have to browse through the Subversion library code which does the
'svn ls'. And I just checked: if you upgrade to Subclipse linked against
Subversion 1.5, it will be as slow as TSVN 1.5 - the old API's are now
redirecting internally to the new API.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-12 18:51:30 CEST

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

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