# py -3 -m pip install snakeviz
# on Windows:
py -3 -m cProfile -o my_script.profile my_script.py && snakeviz.exe my_script.profile
Last active
January 24, 2023 11:08
-
-
Save michalmonday/08002fbfbb7da41500233f54ab9eff35 to your computer and use it in GitHub Desktop.
A command to profile a python script
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment