About gmon.out for profiling

Baskaran Sankaran baskarans at gmail.com
Thu Mar 24 14:15:25 EDT 2011


Hi,

I have two questions regarding the profiling. My python version
automatically generates gmon.out for every script that I run and so I guess
that it must have been compiled with the appropriate option.

Firstly, it is not clear to me how I can use this. I've used python with
-cprofile switch and I wonder if they give different information.

Secondly, I would like to know how I can disable the generation of gmon.out.
Sometimes it is plain annoying to have these files in different places.

I would appreciate suggestions on both questions.

Thanks
- Baskaran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110324/c5fe4162/attachment.html>


More information about the Python-list mailing list