Theano/Theano — Issue #152: Add option to specify gprof/valgrind-compatible output from the profiler
Author: dwf
Created: 2011-10-24 19:05:47+00:00
State: open

There are a lot of tools that can analyze profiler output from various languages if it takes the right form. A particularly interesting one to us is [Gprof2Dot](http://code.google.com/p/jrfonseca/wiki/Gprof2Dot), since we already use Graphviz/pydot for generating visual representations of Theano graphs.

This would involve investigating the format required, digging into Theano's profiler code and adding the ability to generate compatible output, and of course testing this against Gprof2Dot and maybe other tools like the very popular [KCachegrind](http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindIndex) (which can currently also parse output from Python's own profiler modules, I believe).