alexmojaki / heartrate

Simple real time visualisation of the execution of a Python program.
MIT License
1.76k stars 123 forks source link

Can this code calculate time consumption of each line? #3

Closed joyyang1215 closed 5 years ago

alexmojaki commented 5 years ago

No, for that I suggest either https://github.com/rkern/line_profiler or https://github.com/csurfer/pyheat/tree/master/pyheat . I don't really know but my guess is that line_profiler is more accurate but not as nice visually.