From: Jason Mayer Date: 2007-01-10T21:55:15+09:00 Subject: Re: String performance ------=_Part_6393_16484856.1168433713793 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Excellent, thanks. I started to benchmark my quiz submission's file reading and uh, ram usage on the ruby process skyrocketed to 200MB. Does benchmark not play well with blocks of code? On 1/10/07, Jan Svitok wrote: > > On 1/10/07, Jason Mayer wrote: > > On 1/10/07, Robert Klemme wrote: > > > > > > On 09.01.2007 22:17, khaines@enigo.com wrote: > > > > On Wed, 10 Jan 2007, Gavin Kistner wrote: > > > > > > > >> From: Vincent Fourmond > > > >>> user system total real > > > >>> 0.010000 0.000000 0.010000 ( 0.009087) > > > >>> 0.010000 0.000000 0.010000 ( 0.008774) > > > >>> 0.000000 0.000000 0.000000 ( 0.004621) > > > >> > > > > What do the different columns actually mean? > > http://ruby-doc.org/stdlib/libdoc/benchmark/rdoc/classes/Benchmark.html > > This report shows the user CPU time, system CPU time, the sum of the > user and system CPU times, and the elapsed real time. The unit of time > is seconds. > > i.e. time spent in user mode, kernel mode, user+kernel (for these only > time spent by this particular program is counted) and elapsed real > ("wallclock" time) > > ------=_Part_6393_16484856.1168433713793--