Created
February 4, 2013 21:38
-
-
Save andrewcstewart/4709935 to your computer and use it in GitHub Desktop.
Using pycallgraph for traces http://stackoverflow.com/questions/582336/how-can-you-profile-a-python-script/582337#582337
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pycallgraph | |
pycallgraph.start_trace() | |
# insert code | |
pycallgraph.make_dot_graph('test.png') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# oops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment