summaryrefslogtreecommitdiff
path: root/benchmark/vm2_raise2.yml
blob: 7d51b1b314e7cc48278f7d124e7ca029aebea507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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