pyutils/line_profiler
Some data may be outdated — see provenance labels.
Line-by-line profiling for Python observed · 2026-09-26
Health v2 · maintenance only
74/100
- Activity 95
- Release rhythm 33
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: 198
- age_days: 2506
- days_rel: 239
- days_push: 35
- n_releases_24m: 4
Adoption not part of the score
3243 stars · 142 forks observed · 2026-09-26
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-09-26 · 5f7cca1f51e0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pyutils/line_profiler | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="pyutils/line_profiler")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem