Skip to content

Instantly share code, notes, and snippets.

@studiotomi
Created October 7, 2019 14:23
Show Gist options
  • Save studiotomi/c65471a6a869aaee6f00eaf37627f964 to your computer and use it in GitHub Desktop.
Save studiotomi/c65471a6a869aaee6f00eaf37627f964 to your computer and use it in GitHub Desktop.
profile a python process
python3 -m cProfile -s cumulative script.py > profile.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment