python-line_profiler
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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:RISCV/python-line_profiler && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
line_profiler-4.0.2.tar.gz | 0000151252 148 KB | |
python-line_profiler.changes | 0000005813 5.68 KB | |
python-line_profiler.spec | 0000002786 2.72 KB |
Revision 8 (latest revision is 12)
Dominique Leuenberger (dimstar_suse)
accepted
request 1066713
from
Steve Kowalik (StevenK)
(revision 8)
- Update to 4.0.2: * FIX: AttributeError on certain methods. #191 * FIX: Profiling classmethods works again. #183 * ENH: Python 3.11 is now supported. * ENH: Profiling overhead is now drastically smaller, thanks to reimplementing almost all of the tracing callback in C++. * ENH: Added the ``-i <# of seconds>`` option to the ``kernprof`` script. * CHANGE: Cython's native cythonize function is now used to compile the project, instead of scikit-build's convoluted process. * CHANGE: Due to optimizations done while reimplementing the callback in C++, the profiler's code_map and last_time attributes now are indexed by a hash of the code block's bytecode and its line number. * FIX: filepath test in is_ipython_kernel_cell for Windows #161 * ADD: setup.py now checks LINE_PROFILER_BUILD_METHOD to determine how to build binaries * ADD: LineProfiler.add_function warns if an added function has a __wrapped__ attribute - Due to build system change, massively simplify %build.
Comments 0