summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm1_yield.rb
blob: 775597cea64cb7ec56728ce95ab1cbed5e560d51 (plain)
1
2
3
4
5
6
7
8
9
10
def m
  i = 0
  while i<30_000_000 # while loop 1
    i += 1
    yield
  end
end

m{}