Skip to content

Instantly share code, notes, and snippets.

@GrahamDumpleton
Created November 16, 2012 03:40
Show Gist options
  • Save GrahamDumpleton/4083818 to your computer and use it in GitHub Desktop.
Save GrahamDumpleton/4083818 to your computer and use it in GitHub Desktop.
Using function profile decorator.
[function-profile:profile-1]
enabled = true
function = module:handler
filename = /tmp/profile-%(pid)s.dat
delay = 1.0
checkpoint = 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment