negative values in profile output

Steve Holden sholden at holdenweb.com
Sun Apr 6 19:13:58 CEST 2003


"Michael Hudson" <mwh at python.net> wrote in message
news:7h38yunk17w.fsf at pc150.maths.bris.ac.uk...
> "Matthew M. Boedicker" <mboedick at mboedick.org> writes:
>
> > When using the profile module to profile a long-running program,
> > I am getting some negative values:
> >
> > 6753628 -4036.027   -0.001 -4036.027   -0.001
gobject_sql.py:36(<lambda>)
> >
> > Am I correct to assume these don't have special meaning and are the
> > result of something wrapping?
>
> They may be a result of mis-calibration of the profiler -- see the
> docs.
>
> Last time i used the profiler, I more-or-less ignored the values
> output and just assumed I was doing the right thing when they got
> smaller...
>

But when a number comes up negative, does "smaller" mean more negative or
closer to zero?

regards
--
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Did you miss PyCon DC 2003?            Would you come to PyCOn DC 2004?







More information about the Python-list mailing list