[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777069: RFP: line-profiler -- Line-by-line profiling for Python



Package: wnpp
Severity: wishlist

* Package name    : line-profiler
  Version         : 1.0
  Upstream Author : Robert Kern
* URL             : https://pypi.python.org/pypi/line_profiler/
* License         : Python
  Programming Lang: Python
  Description     : Line-by-line profiling for Python

line_profiler is a simple module for doing line-by-line profiling of desired
Python functions.

It also provides a magic command for ipython, %lprun, which is really handy to
profile code on the fly.

I quickly packaged line_profiler and I am using it succesfully. I don't think I
will (try to) adopt it, but here is my git repo anybody can use/start from:
http://anonscm.debian.org/gitweb/?p=collab-maint/line-profiler.git
git clone git://anonscm.debian.org/collab-maint/line-profiler.git

The package for Python 3 also provides the executable "kernprof", which should
simplify the operation of profiling a Python script. I haven't tested it yet.


Reply to: