savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] cvsweb vs viewcvs


From: Mathieu Roy
Subject: [Savannah-hackers] cvsweb vs viewcvs
Date: 12 Mar 2003 23:10:45 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

About 1 minute ago, I wrote the following to address@hidden:

        I tried both viewcvs and cvsweb on my local server with the
        same CVS tree. 

        cvsweb seem a lot faster than viewcvs.
        While viewcvs spend lot of time even just to list files in a
        dir, it's almost direct with cvsweb, with this pretty old CPU
        (P133). 
  
        Why do we use viewcvs? Jaime, what do you think about cvsweb?

        The only feature that seems to miss in the cvsweb version I
        tried is the tarball. Are there other important features
        missing?

I've just took a look to /usr/share/doc/cvsweb/README.Debian (what
should be done at first, obviously)

        We (Debian) see little reason to keep cvsweb in the
        distribution in the long term, when a better, more or less
        drop in replacement exists. That replacement is viewcvs, and I
        encourage you to give it a try.   

        If you find a reason to continue to use cvsweb instead of
        viewcvs (aside from inertia), I'd appreciate it if you'd drop
        me a mail -- this will help me decide when I should get rid of
        this package. 
 
Is cvsweb development stopped? According to
http://www.FreeBSD.org/cgi/cvsweb.cgi/projects/cvsweb/ 
there is still activity.
Also, the freshmeat account of viewcvs has been modified for the last
time in January 2002 while the cvsweb account has been modified in
September 2002.
Both of them are licensed under the original BSD licence
(gpl-incompatible). 
There's at least a major difference between viewcvs and cvsweb: the
first is in python, the second one in perl. But that not the issue but
a possible explanation.

My problem is pretty simple: 
        - On an old computer, which is far enough to be run nicely
          iptables/bind9/dhcpd3/exim4+spamassassin/apache-ssl/mysql/...
          .../nfs/cvs/ssh/...  viewcvs is really slow, while cvsweb is
          acceptable.
        - With a correct computer as the bi-pro pentium III we have on 
          savannah.gnu.org, it also takes lot of resources, no to
          mention the [defunct] it produces (but that's ok, it's temporary)..

        
As exemple, a ps eaux on savannah.gnu.org

        [...]
        www-data 18201  0.6  0.2  4012 2540 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18202  0.8  0.2  4024 2560 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18203  0.8  0.2  4016 2544 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18215  2.7  0.2  4120 2676 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18217  3.5  0.2  4124 2680 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18218  3.5  0.2  4116 2672 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18219  3.6  0.2  4120 2676 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18222  4.3  0.2  4112 2668 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18223  5.4  0.2  4116 2672 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18224  4.6  0.2  4044 2580 ?        S    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio

        www-data 18226  0.2  0.2  6760 2240 ?        S    16:54   0:00 
/usr/sbin/apache-ssl PWD=/ CONSOLE=/dev/console PREVLEVEL=N runlev
        www-data 18227  5.0  0.2  4036 2572 ?        S    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subversio
        www-data 18228 11.3  0.0     0    0 ?        Z    16:54   0:00 [viewcvs 
<defunct>]
        [...]
        www-data 18239 15.0  0.0     0    0 ?        Z    16:54   0:00 [viewcvs 
<defunct>]
        www-data 18263  0.0  0.2  4052 2588 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subvers
        www-data 18264  0.0  0.2  4064 2596 ?        R    16:54   0:00 
/usr/bin/python /home/www/cgi-bin/viewcvs DOCUMENT_ROOT=/subvers
        [...]

It would be interesting to know how cvsweb would behave with many
request.

I wonder if cvsweb is as much outdated as it may seem. Joey, you
surely knows much more about it, can you provide our opinion?





-- 
Mathieu Roy
 
 << Profile  << http://savannah.gnu.org/users/yeupou <<
 >> Homepage >> http://yeupou.coleumes.org           >>
 << GPG Key  << http://stock.coleumes.org/gpg        <<




reply via email to

[Prev in Thread] Current Thread [Next in Thread]