Profiling Python using gprof

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

    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
    It's time to get stuff done with Yahoo Mail. Just add your Gmail, Outlook, AOL or Yahoo Mail to get going. We automatically organize all the things life throws at you, like receipts and attachments, so you can find what you need fast. Plus, we've got your back with other convenient features like one-tap unsubscribe, free trial expiration alerts and package tracking

Working...