2012/11/19 Tim Lyons <guy.linton@gmail.com>

On 19 Nov 2012, at 15:59, Benny Malengier wrote:
As you say, viewvc will be fast on the same server, hosted by us, it will probably be slower than doing it on your laptop with  eg rapidsvn (which I now use, and the times I did, it seemed for me as fast as viewvc).

I don't see how ViewVC can possibly be SLOWER than doing it on your laptop. As I say it doesn't have to download the whole file.

I just did some timings with ViewVC and RapidSVN. Just opening folders (in gramps/trunk etc) takes at least 3.5 secs and sometime up to 4 secs in RapidSVN. It can take as little as 1.5 secs in ViewVC. Drilling down to branches/maintenance/gramps34/src/plugins/webreport makes quite a considerable difference.

If you have this branch, then you just navigate using the treeview to the left. This should be immediate in rapidsvn.

(I appreciate that in some cases, web page caching may be making a difference, but I tried to use fresh pages when I tested, and anyway, in real life, pages will be cached).

Opening the log took 4.8 secs in RapidSVN but only about 1.9 in ViewVC.

yes, 5 sec is probably an average, using viewvc i have waited often just as long for this however.

A diff of historic versions [1] took 15.2 secs on RapidSVN but less than 2 secs on ViewVC.

After log is open, click get on 20520 and then select 20536 and click diff, takes couple of seconds, not more here.
For me, the response is ok.




[1] http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps34/src/plugins/webreport/NarrativeWeb.py?r1=20520&r2=20536