Profiling Python using gprof

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    #1

    Profiling Python using gprof

    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
    Yahoo Mail: Your smarter, faster, free email solution. Organize your inbox, protect your privacy, and tackle tasks efficiently with AI-powered features and robust security tools.

Working...