aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/irb_exec.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/irb_exec.yml b/benchmark/irb_exec.yml
index 5575c00537..28933f8b38 100644
--- a/benchmark/irb_exec.yml
+++ b/benchmark/irb_exec.yml
@@ -1,10 +1,10 @@
prelude: |
# frozen_string_literal: true
require 'rbconfig'
- irb = File.join(File.dirname(RbConfig.ruby), 'irb')
+ irb_f = [File.join(File.dirname(RbConfig.ruby), 'irb'), '-f']
benchmark:
irb_exec: |
- IO.popen(irb, 'w') do |io|
+ IO.popen(irb_f, 'w') do |io|
io.write('exit')
end
loop_count: 30