djangosnippets.org: Latest snippets tagged with 'profiler'http://djangosnippets.org/tags/profiler/2009-06-19T08:23:49.122849-05:00Profiling Middleware w/sorting
2009-06-19T08:23:49.122849-05:00petrillihttp://djangosnippets.org/snippets/1579/<p>Based <em>very heavily</em> on the middleware in <a href="http://www.djangosnippets.org/snippets/727/">this snippet</a>. As with that one, append '?prof' to the URL to see profiling output instead of page output. The big change is that you can also pass an argument to control sorting.</p>
<p>For example, you can append '?prof=cumulative' to sort the …</p>
Freely redistributableProfiling middleware using cProfile
2008-04-27T14:24:22.093958-05:00sgbhttp://djangosnippets.org/snippets/727/<p>Similar to <a href="http://www.djangosnippets.org/snippets/186/">Profiling Middleware</a>, but uses cProfile instead of hotshot.</p>
<p>Append ?prof to the URL to see profiling output instead of page output.</p>
Freely redistributable