ruby/benchmark/vm_yield.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 строки
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