summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm1_block.rb
blob: a9f56b15ea252529d9d2a023f313328fed02e7d6 (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