Profiling Python Scripts running on Mod_wsgi -


How do I profile a Python script running on mod_wsgi

I use cProfile I would like to do but it seems that I need to manually open the function. I have a way to enable cProfile globally and keep it on the logging result.

You need to wrap the Vastio app function inside any other function which only uses the CPR file Calls your function and uses it as an application or you can reuse existing WSGI middleware to do this for you, for example, what you want is too much.


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -