Source: python-line-profiler Maintainer: Debian Science Maintainers Uploaders: Ghislain Antony Vaillant Section: python Priority: optional Build-Depends: cython3, debhelper (>= 11), dh-python, dpkg-dev (>= 1.17.14), python3-all-dev, python3-ipython , python3-pytest , python3-setuptools Standards-Version: 4.1.3 Vcs-Browser: https://salsa.debian.org/science-team/python-line-profiler Vcs-Git: https://salsa.debian.org/science-team/python-line-profiler.git Homepage: https://github.com/rkern/line_profiler Package: python3-line-profiler Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: line-by-line profiling for Python 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.