diff options
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/irb_exec.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/benchmark/irb_exec.yml b/benchmark/irb_exec.yml new file mode 100644 index 0000000000..5575c00537 --- /dev/null +++ b/benchmark/irb_exec.yml @@ -0,0 +1,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 |