aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/irb_exec.yml
blob: 5575c0053752dfb72a4459294a85c4407411e466 (plain)
1
2
3
4
5
6
7
8
9
10
prelude: |
  # frozen_string_literal: true
  require 'rbconfig'
  irb = File.join(File.dirname(RbConfig.ruby), 'irb')
benchmark:
  irb_exec: |
    IO.popen(irb, 'w') do |io|
      io.write('exit')
    end
loop_count: 30