1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm2_raise2.yml
k0kubun 12068aa4e9 benchmark/vm2_*.yml: abstract away the while loop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-08 17:03:23 +00:00

16 lines
189 B
YAML

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