summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-14 06:22:02 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-14 06:22:02 +0000
commit505d2d7ff6599ae77b66643594892096619b7c2f (patch)
tree0227e4bb54450bc15997764166240c4a8a5011a5 /benchmark
parent503badb5d14cc7d7b1d0fcd6d148d441d923f83e (diff)
merge revision(s) 44772,44773: [Backport #9430]
benchmark/driver: avoid large alloc in driver process * benchmark/driver: avoid large alloc in driver process [ruby-core:59869] [Bug #9430] * 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_1_9_3@44942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/driver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb
index 7dab292a15..4028110659 100644
--- a/benchmark/driver.rb
+++ b/benchmark/driver.rb
@@ -220,7 +220,7 @@ class BenchmarkDriver
def measure executable, file
cmd = "#{executable} #{file}"
m = Benchmark.measure{
- `#{cmd}`
+ system(cmd, out: File::NULL)
}
if $? != 0