2018-07-08 20:03:23 +03:00
|
|
|
prelude: |
|
|
|
|
def rec n
|
|
|
|
if n > 0
|
|
|
|
rec n-1
|
|
|
|
else
|
|
|
|
raise
|
|
|
|
end
|
|
|
|
end
|
2018-07-08 18:35:22 +03:00
|
|
|
benchmark:
|
|
|
|
vm2_raise1: |
|
2018-07-08 20:03:23 +03:00
|
|
|
begin
|
|
|
|
rec 1
|
|
|
|
rescue
|
|
|
|
# ignore
|
2018-07-08 18:35:22 +03:00
|
|
|
end
|
2018-07-08 20:03:23 +03:00
|
|
|
loop_count: 6000000
|