summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm_thread_pass_flood.rb
blob: 27157d1a6fd7371ab6668be1091e41d6a8b1839c (plain)
1
2
3
4
5
6
7
8
1000.times{
  Thread.new{loop{Thread.pass}}
}

i = 0
while i<10000
  i += 1
end