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

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

14 lines
216 B
YAML
Raw Normal View History

# 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