Install SnakeViz Visualizer
pip3 install snakeviz
Run profiler:
python3 -m cProfile -o output_filename.cprof my_python_script.py
Run SnakeViz Visualizer
python3 -m snakeviz output_filename.cprof
Result:
My public personal notebook – Not meant as a guide
Install SnakeViz Visualizer
pip3 install snakeviz
Run profiler:
python3 -m cProfile -o output_filename.cprof my_python_script.py
Run SnakeViz Visualizer
python3 -m snakeviz output_filename.cprof
Result: