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