profile module behavior

Joe Murray jmurray at agyinc.com
Fri Mar 16 20:01:53 EST 2001


Dear All,

Is this normal profile.run() standard report output?

         24057864 function calls in -3365.677 CPU seconds

   Ordered by: standard name

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.010    0.010 -3365.697 -3365.697 <string>:1(?)
        1   26.440   26.440 -3365.707 -3365.707
findphrases.py:23(runScript)
     7843    0.090    0.000    0.090    0.000
findphrases.py:52(<lambda>)
        0    0.000             0.000          profile:0(profiler)
        1    0.020    0.020 -3365.677 -3365.677
profile:0(runScript(arglist[0][1]))
   388090   34.210    0.000 -3398.947   -0.009 sre.py:117(_subn)
.
.
.

What do negative numbers mean?  :)  Seems like my code was fast, but I
didn't know it was done, well, basically yesterday!

Hoping that the answer to my question is NOT obviously documented,

joe

-- 
Joseph Murray
Bioinformatics Specialist, AGY Therapeutics
290 Utah Avenue, South San Francisco, CA 94080
(650) 228-1146




More information about the Python-list mailing list