diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-22 07:22:12 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-22 07:22:12 +0000 |
commit | cea7808b10bf32b7e21323dd450b1ac6e7a66c90 (patch) | |
tree | 7afb86ca2deaf03d3bc544eac6c41481389c41ed /benchmark/driver.rb | |
parent | d439b3b1d9fd12c217d04f94b09027cf6014281b (diff) |
merge revision(s) 44772: [Backport #9430]
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/branches/ruby_2_1@45121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/driver.rb')
-rw-r--r-- | benchmark/driver.rb | 2 |
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 |