Profiling Python Apps on Mac?

Pierre-Alain Dorange pdorange at pas-de-pub-merci.mac.com
Thu Jan 29 00:52:48 EST 2009


RGK <blank at empty.blank> wrote:

> As I make program architecture decisions, it would be nice to be able to
> profile the choices.  Should I add that extra thread?  Is this big-assed
> xml object I just created horribly bloated or kind of ordinary.

python -m profile yourscript.py

see <http://docs.python.org/library/profile.html>

-- 
Pierre-Alain Dorange

MicroWar 2.0 : tuez des PC
        <http://microwar.sourceforge.net/>



More information about the Python-list mailing list