From: Jason Mayer Date: 2007-01-10T22:10:27+09:00 Subject: Re: String performance ------=_Part_6610_76915.1168434601474 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 1/10/07, Jason Mayer wrote: > 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? So I tried to benchmark my code, and it works for very small numbers of tests. 2 repetitions: user system total real 0.871000 0.010000 0.881000 ( 0.902000) 5 repetitions: user system total real 2.323000 0.050000 2.373000 ( 3.024000) 15 repetitions however gives the same problem - 5 minutes after I started the program I killed it. Can someone help me understand if this is a problem with benchmark or with my code? ------=_Part_6610_76915.1168434601474--