ruby--ruby/benchmark/vm_yield.yml

14 lines
216 B
YAML

# while loop cost is not removed due to benchmark_driver.gem's limitation
benchmark:
vm_yield: |
def m
i = 0
while i<30_000_000
i += 1
yield
end
end
m{}
loop_count: 1