Paper describing Perprof-py, a python module for performance profiling (as described by Dolan and Moré) with tikz outputing and matplotlib. http://lpoo.github.io/perprof-py
This is the family recipe book...It started as a paper project, but I think this should work much better in the long-term.
Implementation of the paper "Meshing piecewise linear complex using CDT" by Hang Si et. al