1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm1_yield.yml

14 lines
217 B
YAML
Raw Normal View History

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