line_profiler

Docs

Notes: Also known as kernprof

Output Formats:

Graph