This blog show simple steps that can profile a python code and then visualize the profile info.
- Run the
python
code withcProfile
|
|
- Install
snakeviz
profile visualization tool
|
|
- Run the following command. The tool will host a local webpage that we can access.
|
|
That’s it.