negative values in profile output
Michael Hudson
mwh at python.net
Sun Apr 6 13:33:11 EDT 2003
"Steve Holden" <sholden at holdenweb.com> writes:
> "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?
I was consciously avoiding thinking too hard about that :-)
Cheers,
M.
--
This is an off-the-top-of-the-head-and-not-quite-sober suggestion,
so is probably technically laughable. I'll see how embarassed I
feel tomorrow morning. -- Patrick Gosling, ucam.comp.misc
More information about the Python-list
mailing list