Django profiling

Decorator from available via DjHDGutils.profiling

Usage is simple: add @profile(‘filename’) as a decorator for view or function you wish to profile, and find results in
/tmp or into settings.PROFILE_LOG_BASE

To view, you will need to install following packages:

Generate PNG: f pstats /yp/default/djyp/ | dotTpng -o output.png

for a convinience I’ve made a shell script for myself. View - hotshot (69 Bytes) Alex V Koval, 10/16/2012 08:49 PM

Also available in: PDF HTML TXT