bazaar web interface
Goffredo Baroncelli
kreijack at alice.it
Thu Jan 5 00:29:26 GMT 2006
On Thursday 05 January 2006 01:18, John Arbash Meinel wrote:
[...]
> Here are some interesting statistics, though, about the per-line
> annotations.
> For this file:
> http://goffredo-baroncelli.homelinux.net/bazaar/hgweb_devel?cmd=content;rev=ghigo@therra.bhome-20060104222604-bb16793970cb0fbe;pathrevid=ghigo@therra.bhome-20060104230125-d355a583982aee0a;path=webserve/README.txt
>
> The raw README.txt is 11925 bytes.
> The html is 172855 bytes. (Yes 172kb)
> If all I do is change:
> <a aoeuaoeu>55</a>:<a aoeuaoeu>ghigo@</a>
> to
> <a aoeuaoeu>55:ghigo@</a>
>
> It drops to 1009943 bytes.
> That is cutting it almost in half. Without doing any compression. Though
> I agree, adding compression should help a lot, since each line is
> frequently the same content as the previous one.
>
> After gzip, I have:
> 8343 hgweb_devel.html.gz
> 7315 test.html.gz
>
> So down from 170k to 7-8k. It would definitely be worth implementing. I
> think Goffredo would appreciate a 24x decrease in bandwidth consumption.
I think that there are four thing to do in order to mitigate this problem:
1) use the gzip compression
2) where possible collapsing the Anchor tag
3) use a shorter revision notation ( for example only the uuid )
4) add another kind of pages which display only the contents instead the annotation
Goffredo
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack AT inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the bazaar
mailing list