Path to this page:
./
devel/py-line_profiler,
Python line-by-line profiler
Branch: CURRENT,
Version: 4.2.0,
Package name: py312-line_profiler-4.2.0,
Maintainer: minskimline_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, 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.
Required to run:[
devel/py-setuptools] [
devel/py-ipython] [
lang/python37]
Required to build:[
devel/py-cython] [
pkgtools/cwrappers]
Master sites:
Filesize: 194.372 KB
Version history: (Expand)
- (2025-01-06) Updated to version: py312-line_profiler-4.2.0
- (2024-11-11) Updated to version: py312-line_profiler-4.1.3
- (2024-04-29) Updated to version: py311-line_profiler-4.1.3
- (2024-02-12) Updated to version: py311-line_profiler-4.1.2
- (2022-08-03) Updated to version: py310-line_profiler-3.5.1
- (2022-02-05) Updated to version: py39-line_profiler-3.4.0
CVS history: (Expand)
2025-01-06 12:49:37 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-line_profiler: updated to 4.2.0
4.2.0
Added support for annotated assignments in the static parser
Development Branch for 4.1.4
Remove 36 and 37 support
Fix noop code
Update docs
Support 313
Rotate secrets
Add unit example
Official 3.13 on CI
|
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-04-29 10:44:38 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-line_profiler: updated to 4.1.3
4.1.3
* FIX: duration summary now respects the stripzeros argument.
|
2024-02-12 15:42:21 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-line_profiler: updated to 4.1.2
4.1.2
~~~~
* ENH: Add support for Python 3.12
* ENH: Add osx universal2 and arm64 wheels
* ENH: Fix issue with integer overflow on 32 bit systems
4.1.1
~~~~
* FIX: ``get_stats`` is no longer slowed down when profiling many code sections
4.1.0
~~~~
* 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
4.0.3
~~~~
* FIX: Stop requiring bleeding-edge Cython unless necesasry (for Python 3.12).
4.0.2
~~~~~
* FIX: AttributeError on certain methods.
4.0.1
~~~~~
* FIX: Profiling classmethods works again.
4.0.0
~~~~~
* 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++. You can expect to see reductions of \
between 0.3 and 1 microseconds per line hit, resulting in a speedup of up to 4x \
for codebases with many lines of Python that only do a little work per line.
* ENH: Added the ``-i <# of seconds>`` option to the ``kernprof`` script. \
This uses the threading module to output profiling data to the output file every \
n seconds, and is useful for long-running tasks that shouldn't be stopped in the \
middle of processing.
* 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. Any code that directly reads (and \
processes) or edits the code_map and/or last_time attributes will likely break.
|
2023-08-02 01:20:57 by Thomas Klausner | Files touched by this commit (158) |
Log message:
*: remove more references to Python 3.7
|
2022-08-03 15:44:30 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-line_profiler: updated to 3.5.1
3.5.1
~~~~~
* FIX: line profiler now works on async functions again
3.5.0
~~~~~
* FIX: kernprof fails to write to stdout if stdout was replaced
* FIX: Fixes max of an empty sequence error
* Make IPython optional
* FIX: Exception raise ZeroDivisionError
|
2022-02-05 12:40:49 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message:
py-line_profiler: updated to 3.4.0
3.4.0
~~~~~
* Drop support for Python <= 3.5.x
* FIX: 104 issue with new IPython kernels
3.3.1
~~~~~
* FIX: Fix bug where lines were not displayed in Jupyter>=6.0
* CHANGE: moving forward, new pypi releases will be signed with the GPG key \
2A290272C174D28EA9CA48E9D7224DAF0347B114 for PyUtils-CI \
<openpyutils@gmail.com>. For reference, older versions were signed with \
either 262A1DF005BE5D2D5210237C85CD61514641325F or \
1636DAF294BA22B89DBB354374F166CFA2F39C18.
3.3.0
~~~~~
* New CI for building wheels.
3.2.6
~~~~~
* FIX: Update MANIFEST.in to package pyproj.toml and missing pyx file
* CHANGE: Removed version experimental augmentation.
3.2.5
~~~~~
* FIX: Update MANIFEST.in to package nested c source files in the sdist
3.2.4
~~~~~
* FIX: Update MANIFEST.in to package nested CMakeLists.txt in the sdist
3.2.3
~~~~~
* FIX: Use ImportError instead of ModuleNotFoundError while 3.5 is being supported
* FIX: Add MANIFEST.in to package CMakeLists.txt in the sdist
3.2.2
~~~~~
* ENH: Added better error message when c-extension is not compiled.
* FIX: Kernprof no longer imports line_profiler to avoid side effects.
3.2.0
~~~~~
* Dropped 2.7 support, manylinux docker images no longer support 2.7
* ENH: Add command line option to specify time unit and skip displaying
functions which have not been profiled.
* ENH: Unified versions of line_profiler and kernprof: kernprof version is now
identical to line_profiler version.
3.1.0
~~~~~
* ENH: fix Python 3.9
3.0.2
~~~~~
* BUG: fix ``__version__`` attribute in Python 2 CLI.
3.0.1
~~~~~
* BUG: fix calling the package from the command line
3.0.0
~~~~~
* ENH: Fix Python 3.7
* ENH: Restructure into package
|
2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289) |
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.
Set this flag for packages that need it and bump PKGREVISION.
|