Skip to content

Instantly share code, notes, and snippets.

@dmitrysarov
Last active May 31, 2019 14:24
Show Gist options
  • Save dmitrysarov/7cbc5d9c55fbee982244daaae3d6566b to your computer and use it in GitHub Desktop.
Save dmitrysarov/7cbc5d9c55fbee982244daaae3d6566b to your computer and use it in GitHub Desktop.
snakeviz usage snipet
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