line_profiler will profile the time individual lines of code take to execute. The profiler is implemented in C via Cython in order to reduce the overhead of profiling.
Also included is the script kernprof.py which can be used to conveniently profile Python applications and scripts either with line_profiler or with the function-level profiling tools in the Python standard library.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for line_profiler_andy-3.1.0-cp39-cp39-macosx_10_15_x86_64.whl