ruby/benchmark/vm_thread_alive_check.yml

9 строки
124 B
YAML

benchmark:
vm_thread_alive_check: |
t = Thread.new{}
while t.alive?
Thread.pass
end
loop_count: 50_000