summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm1_blockparam_pass.rb
blob: 10029a257a44993203bf3386c9b8d33aa2c1a690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
def bp_yield
  yield
end

def bp_pass &b
  bp_yield &b
end

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