From: Robert Klemme Date: 2007-01-13T19:05:10+09:00 Subject: Re: check performance with Benchmark On 13.01.2007 05:03, chen li wrote: > I know I can use this format to check the performance > of my sctipt: > > result= Benchmark.measure{##script included here##} > > But this code will look ugly if the script spans many > lines.I wonder 1) if there is a better means and 2) > what if I want to check the same script for 10000 > times. Just look at the various pieces of sample code using benchmark that are posted here (comp.lang.ruby / ruby-talk). Kind regards robert