ruby--ruby/benchmark/bm_vm2_method.rb

10 lines
93 B
Ruby

def m
nil
end
i=0
while i<6000000 # benchmark loop 2
i+=1
m; m; m; m; m; m; m; m;
end