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:Backports:SLE-15-SP4:FactoryCandidates/python-line_profiler && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
line_profiler-4.1.2.tar.gz | 0000078149 76.3 KB | |
python-line_profiler.changes | 0000007507 7.33 KB | |
python-line_profiler.spec | 0000002953 2.88 KB | |
use-sys-executable-python.patch | 0000000563 563 Bytes |
Revision 11 (latest revision is 12)
Ana Guerrero (anag+factory)
accepted
request 1146675
from
Steve Kowalik (StevenK)
(revision 11)
- update to 4.1.2: * ENH: Add support for Python 3.12 #246 * ENH: Add osx universal2 and arm64 wheels * ENH: Fix issue with integer overflow on 32 bit systems * FIX: ``get_stats`` is no longer slowed down when profiling many code sections #236 * FIX: skipzeros now checks for zero hits instead of zero time * FIX: Fixed errors in Python 3.11 with duplicate functions. * FIX: ``show_text`` now increases column sizes or switches to scientific notation to maintain alignment * ENH: ``show_text`` now has new options: sort and summarize * ENH: Added new CLI arguments ``-srm`` to ``line_profiler`` to control sorting, rich printing, and summary printing. * ENH: New global ``profile`` function that can be enabled by ``--profile`` or ``LINE_PROFILE=1``. * ENH: New auto-profile feature in ``kernprof`` that will profile all functions in specified modules. * ENH: Kernprof now outputs instructions on how to view results. * ENH: Added readthedocs integration: https://kernprof.readthedocs.io/en/latest/index.html - Add patch use-sys-executable-python.patch: * Use sys.executable, rather than 'python'. - restrict to older Cython release * FIX: #100 Exception raise ZeroDivisionError being patient. for contributing it. this feature. Cournapeau for spotting this.
Comments 0