Popular recipes tagged "profiling" but not "visualization"http://code.activestate.com/recipes/tags/profiling-visualization/2011-08-02T19:08:58-07:00ActiveState Code RecipesProfile decorator (Python)
2011-08-02T19:08:58-07:00Giampaolo RodolĂ http://code.activestate.com/recipes/users/4178764/http://code.activestate.com/recipes/577817-profile-decorator/
<p style="color: grey">
Python
recipe 577817
by <a href="/recipes/users/4178764/">Giampaolo RodolĂ </a>
(<a href="/recipes/tags/profile/">profile</a>, <a href="/recipes/tags/profiling/">profiling</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>A decorator for profiling a function which prints profiling results to stdout.
This was originally proposed as a patch for inclusion into python stdlib:</p>
<p><a href="http://bugs.python.org/issue9285" rel="nofollow">http://bugs.python.org/issue9285</a></p>
<p>Note that on certain Linux systems pstats module isn't available, despite it is supposed to be part of Python stdlib. On my Ubuntu box I had to run "sudo apt-get install python-profile" first.</p>
A Profiling Tool (Python)
2011-03-04T05:41:04-08:00Shao-chuan Wanghttp://code.activestate.com/recipes/users/4168519/http://code.activestate.com/recipes/577323-a-profiling-tool/
<p style="color: grey">
Python
recipe 577323
by <a href="/recipes/users/4168519/">Shao-chuan Wang</a>
(<a href="/recipes/tags/profiling/">profiling</a>, <a href="/recipes/tags/timing/">timing</a>).
Revision 2.
</p>
<p>This is a decorator for doing the profiling of a function.</p>