Profiling Python using gprof

Dave zhu_dave at
Wed Oct 12 00:11:34 CEST 2005


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

More information about the Python-list mailing list