[RFC] Branch Viewer

Bryan O'Sullivan bos at serpentine.com
Thu Apr 6 23:14:34 UTC 2006


On Fri, 2006-04-07 at 00:40 +0200, Alexander Schremmer wrote:

> It is running here: http://moin.pocoo.org:8000/?cmd=branchview
> and can be pulled from there.
> If you do not have JS currently available, you can find a screenshot here:
> http://moin.pocoo.org/FrontPage?action=AttachFile&do=get&target=branchview.png

This is excellent.  Thanks!

However, there is a major practical problem: this currently uses a huge
amount of server-side CPU.  On a Linux kernel repo, for example, it
takes 20 seconds for cmd=branchview to respond, and hg is running at
100% CPU the entire time.  This is on a very fast machine, too.  It
doesn't seem to matter how many revs you want to view; the amount of
server CPU consumed stays constant.

I couldn't generate a profile (Python's hotshot module raised an
exception with threading turned off), so I can't directly tell you
what's wrong.

	<b




More information about the Mercurial mailing list