Re: profiling django with fastcgi & cprofile?

2008-05-02 Thread skunkwerk
I tried appending -m cProfile -o project.profile to this call: /usr/bin/python manage.py runfcgi... but i got an error saying can't open cProfile - no such file or directory. is this even the right place to call cProfile? the other option would be to modify this:http://code.djangoproject.com/ b

profiling django with fastcgi & cprofile?

2008-05-01 Thread skunkwerk
the page here: http://code.djangoproject.com/wiki/ProfilingDjango mentions profiling with hotshot & mod_python, or wsgi & cprofile. the stuff here: http://www.djangosnippets.org/snippets/605/ is also for hotshot, not cprofile. i'm not sure how to get this going with fastcgi - which i'm starting