instrumenting Python code
Skip Montanaro
skip at pobox.com
Wed Mar 27 10:49:18 EST 2002
Dave> The hotshot module doesn't appear to have any documentation
Dave> yet.
That's true. Here's my simple usage scenario:
import hotshot
profiler = hotshot.Profile("/home/skip/tmp/csv2csv.prof")
profiler.run("main()")
profiler.close()
stats = hotshot.Stats("/home/skip/tmp/csv2csv.prof")
stats.print_stats()
--
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)
More information about the Python-list
mailing list