From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <138575260904150753j74048448q2ba2f33a1b06f2f@mail.gmail.com> References: <138575260904150753j74048448q2ba2f33a1b06f2f@mail.gmail.com> Date: Wed, 15 Apr 2009 08:07:39 -0700 Message-ID: <13426df10904150807g582ed320n6ad687656797243@mail.gmail.com> From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] some measurements in plan 9 Topicbox-Message-UUID: dbe67478-ead4-11e9-9d60-3106f5b1d025 On Wed, Apr 15, 2009 at 7:53 AM, hugo rivera wrote: > Hi, > I want to compare the memory consumption of two versions of the same > program. I think /proc it's the way to go and acid should give me the > tools to do so, am I right? is there a better way to do so? Just > asking before reading the acid papers. seems reasonable to me, I assume you are looking at data consumption only? > Also, I am interested in the speed of both versions, and I am planning > to use the time command with some rc scripts. Am I in the right path? If they run for hours, time is fine. If they run for seconds, well, maybe not so fine. ron