Last active
March 21, 2024 12:30
-
-
Save tueda/00e68c7d411990006e05 to your computer and use it in GitHub Desktop.
Python -> CProfile -> gprof2dot -> dot
This file contains hidden or 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 output.pstats path/to/your/script arg1 arg2 | |
| gprof2dot.py -f pstats output.pstats | dot -Tpdf -o output.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment