Make a Python virtual environment and install the dependencies
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
- First run the example to generate the
cProfile
profile file
python example.py
- Then run
snakeviz
over the profile file to interact with the profile information
snakeviz example.prof