line_profiler

Description

line_profiler is a module for doing line-by-line profiling of functions. kernprof is a convenient script for running either line_profiler or the Python standard library’s cProfile or profile modules, depending on what is available.

More information

Availability

Module Manneback Lemaitre4
line_profiler/3.5.1-foss-2021b  
line_profiler/4.1.1-GCCcore-12.2.0