python3-line-profiler

line-by-line profiling for Python

Description

LineProfiler can be given functions to profile, and it will time the execution of each individual line inside those functions. In a typical workflow, one only cares about line timings of a few functions because wading through the results of timing every single line of code would be overwhelming. However, LineProfiler does need to be explicitly told what functions to profile.

If you are using IPython, there is an implementation of an %lprun magic command which will let you specify functions to profile and a statement to execute.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/pyutils/line_profiler


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-line-profiler