BSD Ports

devel/py-line_profiler 5.0.2 NetBSD

Python line-by-line profiler

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
aae4df5a92
License
modified-bsd
Categories
devel, python
Package size
465.2 KiB, 3456.5 KiB installed

Description

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, 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.

Install

Binary package:

pkgin install py312-line_profiler

From pkgsrc:

cd /usr/pkgsrc/devel/py-line_profiler && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_645.0.2
NetBSD 10.1 aarch645.0.2
SmartOS / illumos x86_645.1.0
macOS 15 arm645.0.2

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py313-line_profiler-5.0.2, py314-line_profiler-5.0.2

Commit history 2

DateCommitCreditsLog message
aae4df5a92 adam py-line_profiler: updated to 5.1.0
5.1.0 * FIX: Text output now replaces characters the output stream cannot encode with escape sequences instead of dropping the source line * FIX: Make sure that the profiled code is run in the ``sys.modules['__main__']`` namespace to avoid issues w/e.g. pickling * CHANGE: Drop support for Python 3.8 and Python 3.9 * FIX: ``ScopingPolicy`` members now type-check properly as instances thereof -- at least on Python versions (3.11+) where ``enum.StrEnum`` is available * FIX: Bytecodes of profiled functions now always labeled to prevent confusion with non-profiled "twins" * FIX: Stop reverting ``sys.modules`` after calling ``kernprof.main()`` to avoid edge-case issues with e.g. pickling * FIX: Fixed bugs where ``kernprof -l`` (1) misses ``--prof-mod`` …
65c9b1c391 adam Forget Python 3.10