Re: [viewvc-dev] ViewVC 1.1.0-beta1 slowness

"C. Michael Pilato" <[email protected]> Wed, 12 Nov 2008 09:07:19 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
Mikko Silvonen wrote:
> 2008/11/12 I wrote:
>> 2008/11/11 C. Michael Pilato <[email protected]>:
>>> Well, certainly adding authz to the mix adds quite a bit of processing
>>> overhead -- ViewVC has to consult the authz configuration to discern the
>>> readability of every path.  And log views are especially harsh, because that
>>> means checking every path changed in a revision for every revision whose log
>>> is being display.
>> I switched off authz, but ViewVC 1.1.0-beta1 is still much more
>> sluggish than the previous version. Strange. Do we have any other
>> hypotheses? (I am actually a bit relieved, because the authz feature
>> is the main reason why we want to upgrade.)
> 
> I noticed something: the revision histories of those directories that
> load particularly slowly tend to contain large commits (with a few
> hundred files committed at once), and "svn log" is also slow for them.
> But why is ViewVC 1.0.7 so much faster?

Non-answer:  you might be able to relieve some of the pain by turning on
pagination (use_pagesize).  But it sounds like some performance comparisons
between ViewVC 1.0.x and 1.1.x are in order.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJGuMXokEGqRcG/W4RAmTlAJ4umYmOP0Pr6R+LAqIegPpURhNFdwCfaxY5
M10+njSA7E+HrQm/TSXogUE=
=T5tW
-----END PGP SIGNATURE-----