[mod_python] Using python profiler with mod_python

Nick nick at dd.revealed.net
Mon Mar 7 10:16:59 EST 2005


The Python profiler works great.  I do a log_error at the end of the request 
with the default text report.  If you want to profile an entire handler, 
just make a wrapper handler that sets up the profiler to call your normal 
handler, and point to that in your apache config.

Nick

Wagner,Harry wrote:
> Does anyone have any experience using the python profiler with
> mod_python, or know of any other tools available for diagnosing
> performance problems?  TIA... harry
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list