From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8bb82d734dec86d799e6b96942a4d6e5@quanstro.net> From: erik quanstrom Date: Wed, 15 Apr 2009 13:25:07 -0400 To: 9fans@9fans.net In-Reply-To: <138575260904150753j74048448q2ba2f33a1b06f2f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] some measurements in plan 9 Topicbox-Message-UUID: dc364c96-ead4-11e9-9d60-3106f5b1d025 On Wed Apr 15 10:55:34 EDT 2009, uair00@gmail.com 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. > 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? > thanks and saludos leak should give you a very detailed picture of memory allocation. ron's comments notwithstanding, i have found nsec() to be very helpful in tuning most user mode programs. i wasn't doing supercomputer applications, but the chances are you aren't either. - erik