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
This commit is contained in:
parent
84d815211e
commit
3d1108e449
@ -242,7 +242,7 @@ class BenchmarkDriver
|
|||||||
cmd = "#{executable} #{@ruby_arg} #{file}"
|
cmd = "#{executable} #{@ruby_arg} #{file}"
|
||||||
|
|
||||||
m = Benchmark.measure{
|
m = Benchmark.measure{
|
||||||
`#{cmd}`
|
system(cmd, out: File::NULL)
|
||||||
}
|
}
|
||||||
|
|
||||||
if $? != 0
|
if $? != 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user