monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] using empty() instead of size()


From: Eric Anderson
Subject: Re: [Monotone-devel] using empty() instead of size()
Date: Wed, 24 Sep 2008 10:39:06 -0700

Markus Wanner writes:
 > Eric Anderson wrote:
 > > Assuming that the code for getting memory usage is derived from the
 > > code I wrote a long time ago (output looks similar, so likely); I
 > > expect that the memory consumption differences are just sampling
 > > effects.  It sampled every 1 second or so, and so changes to runtime
 > > can affect when the memory usage is sampled and hence the estimated
 > > memory usage.
 > 
 > Yeah, I've been questioning the 'avg' value as well. If you now tell me
 > that sampling is done at 1 second intervals, then I even suspect the max
 > value to not be very meaningful.

If a run went on for a while (20-60s), and you ran it multiple times
(I did), it's generally pretty good, but it certainly wasn't something
that should be trusted blindly.  I generally ignored the memory
information unless I was looking at something > 1.5x.
        -Eric





reply via email to

[Prev in Thread] Current Thread [Next in Thread]