rkern/line_profiler
(OLD REPO) Line-by-line profiling for Python - Current repo -> 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
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
- readme: https://github.com/rkern/line_profiler · fetched 2026-08-28 · 71da382ca15d
- homepage: https://github.com/pyutils/line_profiler · fetched 2026-08-29 · faaf16936466
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rkern/line_profiler | main | 10 |
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