Ross ROSS = Recommend OSS · open-source software intelligence for agents

rkern/line_profiler

(OLD REPO) Line-by-line profiling for Python - Current repo -> observed · 2026-08-28

github.com/rkern/line_profiler · homepage · Python · NOASSERTION (other) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases archived no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4385
  • days_rel: n/a
  • days_push: 1772
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3585 stars · 254 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

line_profiler is a Python module for line-by-line profiling of functions, and kernprof is a companion script for running it or the standard library's cProfile. This original rkern repository is unmaintained; the official continuation lives at pyutils/line_profiler.

Use cases

  • find which line of a Python function is slow
  • profile numpy-heavy code that cProfile misses
  • time individual lines inside a function
  • locate hotspots in scientific computing code
  • run cProfile conveniently with kernprof

When to choose

  • you need finer granularity than cProfile's function-level timing
  • a single line inside a large function is the suspected bottleneck
  • you are profiling vectorized numpy operations

When to avoid

  • you want an actively maintained version - use pyutils/line_profiler instead
  • you only need function-level profiling - cProfile suffices
  • you cannot build C extensions and need the old install-from-source flow

Facets

library · maturity abandoned

benchmarking developer-tools cli developer-tools performance python cli cross-platform profiling line-by-line-profiling kernprof performance-analysis unmaintained command-line

2 sources

Member repositories

RepositoryRoleHealth v2
rkern/line_profilermain10

For agents

markdown · JSON · MCP: product_card(name="rkern/line_profiler")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem