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

17 lines
187 B
YAML
Raw Normal View History

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