[Top][All Lists]
[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
- Re: [Monotone-devel] using empty() instead of size(), (continued)
- Re: [Monotone-devel] using empty() instead of size(), Derek Scherger, 2008/09/22
- [Monotone-devel] Re: using empty() instead of size(), Bruce Stephens, 2008/09/23
- Re: [Monotone-devel] Re: using empty() instead of size(), Ulf Ochsenfahrt, 2008/09/23
- Re: [Monotone-devel] Re: using empty() instead of size(), Bruce Stephens, 2008/09/23
- Re: [Monotone-devel] Re: using empty() instead of size(), Ulf Ochsenfahrt, 2008/09/23
- [Monotone-devel] Re: using empty() instead of size(), Bruce Stephens, 2008/09/23
- Re: [Monotone-devel] Re: using empty() instead of size(), Ulf Ochsenfahrt, 2008/09/23
- Re: [Monotone-devel] using empty() instead of size(), Markus Wanner, 2008/09/23
- Re: [Monotone-devel] using empty() instead of size(), Eric Anderson, 2008/09/23
- Re: [Monotone-devel] using empty() instead of size(), Markus Wanner, 2008/09/24
- Re: [Monotone-devel] using empty() instead of size(),
Eric Anderson <=
- Re: [Monotone-devel] using empty() instead of size(), Stephen Leake, 2008/09/23
- Re: [Monotone-devel] using empty() instead of size(), Markus Wanner, 2008/09/23
- Re: [Monotone-devel] using empty() instead of size(), Stephen Leake, 2008/09/23
- Re: [Monotone-devel] using empty() instead of size(), Markus Wanner, 2008/09/24
Re: [Monotone-devel] using empty() instead of size(), Jens Finkhäuser, 2008/09/22