Python snakeviz

From wikinotes
Revision as of 00:46, 20 February 2019 by Will (talk | contribs) (Created page with "snakeviz is pretty neat, but nowhere near as useful as runsnakerun. It does however support python3. = Usage = <blockquote> <source lang="python"> python -m cProfile -o outp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

snakeviz is pretty neat, but nowhere near as useful as runsnakerun.

It does however support python3.

Usage

python -m cProfile -o output.pstat file.py
python -m snakeviz output.pstat