Hey, Is there any recommended benchmark code I can run against the various Win versions of Ruby? I just want to do it for fun, so nothing too fancy required. Cheers, Charles
Hi Charles, I''ve been using this: http://github.com/acangiano/ruby-benchmark-suite Regards, Mike On Wed, Jun 10, 2009 at 2:18 PM, Charles Roper<reachme at charlesroper.co.uk> wrote:> Hey, > > Is there any recommended benchmark code I can run against the various Win > versions of Ruby? I just want to do it for fun, so nothing too fancy > required. > > Cheers, > Charles > _______________________________________________ > Rubyinstaller-devel mailing list > Rubyinstaller-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyinstaller-devel >
Mike Hodgson wrote:> Hi Charles, > > I''ve been using this: http://github.com/acangiano/ruby-benchmark-suiteThanks 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? Charles
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
>> 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}"Oops. Guess on all my computers there''s a \dev directory so I never noticed that one. Hopefully it works now. -=r
On Thu, Jun 11, 2009 at 5:06 PM, Roger Pack<rogerdpack at gmail.com> wrote:>>> 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}" > > Oops. Guess on all my computers there''s a \dev directory so I never > noticed that one. ?Hopefully it works now. > -=rOh yeah, there is no /dev/null on Windows, is called NUL -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry