[viff-devel] Call graph

Martin Geisler mg at daimi.au.dk
Fri Sep 26 13:20:16 PDT 2008


Hi guys,

I found a new tool today which can generate nice call graphs:

  http://code.google.com/p/jrfonseca/wiki/Gprof2Dot

Using that I made a graph for 5000 multiplications which show that a
total of 130033 field elements were created in the execution. __mul__
created 45011, __add__ created 40002, and shamir.share created 25002. I
don't know who created the missing 20000 elements.

I guess such graphs can help us look for stupid call chains that we can
shorten, but for now I just wanted to put it out here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mul-5000.png
Type: image/png
Size: 444548 bytes
Desc: not available
URL: <http://lists.viff.dk/pipermail/viff-devel-viff.dk/attachments/20080926/5ddfeb24/attachment-0001.png>
-------------- next part --------------

-- 
Martin Geisler


More information about the viff-devel mailing list