Apocrypha

line-profiler

Line-by-line profiler

line_profiler is a module for doing line-by-line profiling of functions. kernprof is a convenient script for running either line_profiler or the Python standard library's cProfile or profile modules, depending on what is available.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 5.0.2 1 14 h details ›
pypi GitHub ↗ 5.0.0 1 5 mo details ›

Versions & arches

VersionOverlay amd64arm64x86 Committed
5.0.2 gentoo amd64 testing arm64 testing x86 testing view · download · history ↗
5.0.0 pypi amd64 testing arm64 untested x86 testing view · download · history ↗

Use flags of 5.0.2

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
3 expansion flags (python targets, ABIs, cpu flags…)
  • python_targets_python3_12
  • python_targets_python3_13
  • python_targets_python3_14

Runtime dependencies of 5.0.2

show 10 lines