Last active
November 3, 2017 14:21
-
-
Save junzis/8a3c1fb02bc84ec8389073c85e3a69f5 to your computer and use it in GitHub Desktop.
python profiling
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
python -m cProfile -o profile.pstats script.py | |
gprof2dot -f pstats profile.pstats | dot -Tsvg -o profile.svg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment