ruby--ruby/benchmark/irb_exec.yml

11 lines
232 B
YAML

prelude: |
# frozen_string_literal: true
require 'rbconfig'
irb_f = [File.join(File.dirname(RbConfig.ruby), 'irb'), '-f']
benchmark:
irb_exec: |
IO.popen(irb_f, 'w') do |io|
io.write('exit')
end
loop_count: 30