'activity' extension (also 'chart' extension)
Martin Geisler
mg at daimi.au.dk
Fri Oct 31 15:26:31 CDT 2008
Ry4an Brase <ry4an-mercurial at ry4an.org> writes:
> On Fri, Oct 31, 2008 at 05:14:19PM +0200, Thomas Capricelli wrote:
>> I just want to announce a small extension i wrote for mercurial.
>> It creates an image representing the 'activity' of the repository. It
>> uses matplotlib for that. Screenshots/code/details are available on
>>
>> http://labs.freehackers.org/wiki/hgactivity
>
> Thomas and I have both been working on the same essential idea [...]
Hehe, it seems that this is a popular idea! :-) I have also been playing
a bit with a script for generating graphs from Mercurial repositories.
I have now put the code here:
http://www.bitbucket.org/mg/hgchart/
My idea was to use this for tracking performance of my project over
time, and only incidentally to track the activity of the repository
itself.
So my script associates benchmark measurements with each revision and
these can then be aggregated (sums, running average, etc.) before making
a chart. The idea is that the per-changeset measurements can be stored
on disk and so only the new changesets would have to be measured.
When data has been loaded/generated for all changesets a path can be
computed through the changeset graph and nice graphics can be made.
So far the data is not stored on disk and the graph selected is the
simple one that goes from revision 0 to tip by always following the
first child revision.
I don't really have time at the moment to play with this, but I would be
happy if someone can use the code or the ideas.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20081031/0438e464/attachment.pgp
More information about the Mercurial
mailing list