Profilers are extremely helpful tools. They help us dig deep into code, find and understand performance bottlenecks. But sometimes we just want to lay back, relax and still get a gist of the hot zones in our code.
A picture is worth a thousand words.
So, instead of presenting the data in tabular form, if presented as a heatmap visualization, it makes comprehending the time distribution in the given program much easier and quicker. That is exactly what is being done here !
⭐ Simple CLI interface.
⭐ No complicated setup.
⭐ Heatmap visualization to view hot zones in code.
With pip installed on your system, execute
pip install py-heatgit clone https://github.com/csurfer/pyheat.git
python pyheat/setup.py installTo view heatmap of a python file use:
pyheat --pyfile <path_to_python_file>To view help use:
pyheat --helpPlease use issue tracker for reporting bugs or feature requests.
Pull requests are most welcome.
