ruby/benchmark/irb_exec.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 строки
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