summaryrefslogtreecommitdiff
path: root/benchmark/driver.rb
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-30 18:48:40 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-30 18:48:40 +0000
commit3d1108e449f67bdd979ce8a4025baf34a13125e1 (patch)
tree5a3930afe609acfa315e43947989d0260272a7d6 /benchmark/driver.rb
parent84d815211efe955887024c7ed51628f52bca17ff (diff)
downloadruby-3d1108e449f67bdd979ce8a4025baf34a13125e1.tar.gz
benchmark/driver: avoid large alloc in driver process
* benchmark/driver: avoid large alloc in driver process [ruby-core:59869] [Bug #9430] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/driver.rb')
-rw-r--r--benchmark/driver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb
index 695dc41aff..cbc72cf604 100644
--- a/benchmark/driver.rb
+++ b/benchmark/driver.rb
@@ -242,7 +242,7 @@ class BenchmarkDriver
cmd = "#{executable} #{@ruby_arg} #{file}"
m = Benchmark.measure{
- `#{cmd}`
+ system(cmd, out: File::NULL)
}
if $? != 0