ruby/benchmark/vm1_yield.yml

14 строки
217 B
YAML

# 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