pyutils/line_profiler
Line-by-line profiling for Python observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 97
- Release rhythm 40
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 198
- age_days: 2458
- days_rel: 190
- days_push: 19
- n_releases_24m: 4
Adoption not part of the score
3243 stars · 140 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
line_profiler is a Python module for line-by-line profiling of functions, with the kernprof script for running profilers. It is the officially maintained continuation of the original rkern/line_profiler project.
Use cases
- find slow lines in a python function
- profile a python script line by line
- measure per-line execution time of python code
- debug performance bottlenecks in python functions
- run cProfile via kernprof
When to choose
- you need finer granularity than cProfile's function-level timing
- you want to decorate specific functions and see per-line hit counts and times
- you want a maintained fork of the original line_profiler
When to avoid
- you only need function-level profiling, where cProfile suffices
- you need whole-program or statistical sampling profiling
- you are profiling non-Python code
Facets
library · maturity active
benchmarking developer-tools cli developer-tools performance python cli cross-platform profiling line-by-line-profiling kernprof performance-analysis python
1 source
- readme: https://github.com/pyutils/line_profiler · fetched 2026-08-28 · 5f7cca1f51e0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pyutils/line_profiler | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="pyutils/line_profiler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem