ruby-changes:32693
From: normal <ko1@a...>
Date: Fri, 31 Jan 2014 03:48:44 +0900 (JST)
Subject: [ruby-changes:32693] normal:r44772 (trunk): benchmark/driver: avoid large alloc in driver process
normal 2014-01-31 03:48:40 +0900 (Fri, 31 Jan 2014) New Revision: 44772 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44772 Log: benchmark/driver: avoid large alloc in driver process * benchmark/driver: avoid large alloc in driver process [ruby-core:59869] [Bug #9430] Modified files: trunk/benchmark/driver.rb Index: benchmark/driver.rb =================================================================== --- benchmark/driver.rb (revision 44771) +++ benchmark/driver.rb (revision 44772) @@ -242,7 +242,7 @@ class BenchmarkDriver https://github.com/ruby/ruby/blob/trunk/benchmark/driver.rb#L242 cmd = "#{executable} #{@ruby_arg} #{file}" m = Benchmark.measure{ - `#{cmd}` + system(cmd, out: File::NULL) } if $? != 0 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/