ruby/benchmark/vm_raise2.yml

17 строки
188 B
YAML

prelude: |
def rec n
if n > 0
rec n-1
else
raise
end
end
benchmark:
vm_raise2: |
begin
rec 10
rescue
# ignore
end
loop_count: 6000000