summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm1_block.rb
blob: 0ea806ae35d9e62ca09ea80f77f9d00e7c545a80 (plain)
1
2
3
4
5
6
7
8
9
10
def m
  yield
end

i = 0
while i<30_000_000 # while loop 1
  i+=1
  m{
  }
end