summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm_thread_create_join.rb
blob: 393cd45df9539417f0e35b2a645295334c759027 (plain)
1
2
3
4
5
6
i = 0
while i<100_000 # benchmark loop 3
  i += 1
  Thread.new{
  }.join
end