Last active
May 31, 2019 14:24
-
-
Save dmitrysarov/7cbc5d9c55fbee982244daaae3d6566b to your computer and use it in GitHub Desktop.
snakeviz usage snipet
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
snakeviz - tool helping to visualize data of after you script profile. | |
to install: python3 -m pip install snakeviz | |
to profile create profile log file do: python3 -m cProfile -o profile.log you_script.py | |
to run snakeviz (not in browser but run server): python3 -m snakeviz -s -H 0.0.0.0 -p 9022 profile.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment