summaryrefslogtreecommitdiff
path: root/benchmark/vm_thread_alive_check.yml
blob: d21737d3e82f2eae2d43d57e1efa8c3c54fe19f0 (plain)
1
2
3
4
5
6
7
8
benchmark:
  vm_thread_alive_check: |
    t = Thread.new{}
    while t.alive?
      Thread.pass
    end
loop_count: 50_000