Profiling Python using gprof

Dave zhu_dave at yahoo.com
Tue Oct 11 18:11:34 EDT 2005


Hello, 

I would like to profile a Python program using gprof.
I already rebuilt Python with CC="gcc -pg"
./configure. So, I should be able to use gprof. How do
I do that? Should I first run Python and then gprof?
What are the steps?

Thanks a lot!



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the Python-list mailing list