News for hackers. Stuff that matters.
Re:Pyheatmagic: Profile and view your Python code as a heat map by mattip on Wednesday November 03, 2021 @03:40AM (#29092022)
This project wraps py-heat 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.
Re:Pyheatmagic: Profile and view your Python code as a heat map by brtknr on Thursday November 04, 2021 @01:50PM (#29110374)
I think it warrants an explaination of what py-heat is rather than assuming that the reader knows.