summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_proc.rb
blob: 0bd05b9544c417a40f7a8e0db6ed41d0e5956e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def m &b
  b
end

pr = m{
  a = 1
}

i=0
while i<6000000 # benchmark loop 2
  i+=1
  pr.call
end