Have you heard of RunSnakeRun? It's sort of a profiler that gives you a nice graphical interface to see time spend in modules. It doesn't do memory profiling, though… Cheers, Marcel -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Marcel R. Haas Postdoc, Astrophysics Space Telescope Science Institute, Baltimore, MD http://www.marcelhaas.com<http://www.marcelhaas.com/> mhaas@stsci.edu<mailto:mhaas@stsci.edu> Address: STScI 3700 San Martin Drive Baltimore, MD, 21218 Office P611, tel +1 (410) 338 5012 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ From: Eric Hallman <hallman@txcorp.com<mailto:hallman@txcorp.com>> Reply-To: Discussion of the yt analysis package <yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org>> Date: Thu, 3 May 2012 13:41:21 -0400 To: Discussion of the yt analysis package <yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org>> Subject: [yt-users] python timing Is there a standard or best methodology for tracking python code performance? I see in the intertubes that one can use the time module, or timeit or other things. How about memory usage? Or is this typically handled by debugging tools? What I really want to do is isolate logjams in python code by function call etc. in a fairly non-intrusive way. Thanks for any advice. Eric -- Eric Hallman Tech-X Corporation hallman@txcorp.com<mailto:kruger@txcorp.com> 5621 Arapahoe Ave, Suite A Phone: (720) 254-5833 Boulder, CO 80303 Fax: (303) 448-7756 -- _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org