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_raise2.yml

17 lines
188 B
YAML
Raw Normal View History

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