13 ms·
It is not explained anywhere what the heat map is of… is it the age of the line or the number of commits? Is this configurable or what?
by brtknr 5y ago
It is not explained anywhere what the heat map is of… is it the age of the line or the number of commits? Is this configurable or what?
- slock83 5y agoI used this tool a few month ago, as a way to quickly profile some slow running functions in one of my notebooks. The color is mapped to the cumulative run time of the line.
- mattip 5y agoThis project wraps py-heat https://github.com/csurfer/pyheat https://github.com/csurfer/pyheat in a convenient to use ipython magic command. Pyheat presents a heat map of profiler output: i.e. the output of running your program and measuring the time to execute each line of python code. Pyheat in turn uses pprofile https://github.com/vpelletier/pprofile https://github.com/vpelletier/pprofile.
- brtknr 5y agoI think it warrants an explaination of what py-heat is rather than assuming that the reader knows.