Skip to content

Instantly share code, notes, and snippets.

@rdammkoehler
Created January 14, 2016 15:19
Show Gist options
  • Save rdammkoehler/338896ead0068cfde456 to your computer and use it in GitHub Desktop.
Save rdammkoehler/338896ead0068cfde456 to your computer and use it in GitHub Desktop.
View Profile Information from Python Job
brew install qcachegrind # install qcachegrind, you only need to do this once
scp azureuser@cgoa-dev.cloudapp.net:data/profile.out . # copy the profile.out file from the server
pip install pyprof2calltree # install the profile converter, you only need to do this once
pyprof2calltree -i profile.out # convert the profile to a file qcachegrind can read
qcachegrind profile.out.log # start qcachegrind to see the profile information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment