| Home | Trees | Indices | Help |
|---|
|
|
Profiles `func` and returns a tuple containing its output and a string with human-readable profiling information.
>>> import time >>> out, inf = profile(time.sleep)(.001) >>> out >>> inf[:10].strip() 'took 0.0'
|
|||
|
|||
|
|||
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:30 2010 | http://epydoc.sourceforge.net |