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