[Rubyinstaller-devel] Benchmarks

Gordon Thiesfeld gthiesfeld at gmail.com
Thu Jun 11 13:27:04 EDT 2009


On Thu, Jun 11, 2009 at 11:27 AM, Charles
Roper<reachme at charlesroper.co.uk> wrote:
> Mike Hodgson wrote:
>>
>> Hi Charles,
>>
>> I've been using this: http://github.com/acangiano/ruby-benchmark-suite
>
> Thanks Mike. I don't seem to be able to get this running. When I try rake
> bench it iterates through all of the benchmarks like this:
>
>  Running bm_gzip.rb
> The system cannot find the path specified.
>  Running bm_hilbert_matrix.rb
> The system cannot find the path specified.
>  Running bm_norvig_spelling.rb
> The system cannot find the path specified.
>  Running bm_sudoku.rb
> The system cannot find the path specified.
>
> etc...
>
> I assume it worked out of the box you you? I've tried both cloning it
> directly from github and downloading the zip - no joy. Any ideas?

I had the same problem.  I had to change line 14 of utils/monitor.rb

cmd = "#{timeout} -t #{limit} #{vm} #{runner} #{name} #{iterations}
#{report} > /dev/null"

to

cmd = "#{timeout} -t #{limit} #{vm} #{runner} #{name} #{iterations} #{report}"

Gordon


More information about the Rubyinstaller-devel mailing list